1
0
Fork 0
forked from OpenNeo/impress
impress/lib/rocketamf_extensions/remote_gateway.rb

19 lines
284 B
Ruby
Raw Permalink Normal View History

require 'net/http'
require 'rocketamf'
require_relative 'remote_gateway/service'
module RocketAMFExtensions
class RemoteGateway
attr_reader :uri
2011-05-31 07:36:32 -07:00
def initialize(url)
@uri = URI.parse url
end
2011-05-31 07:36:32 -07:00
def service(name)
Service.new(self, name)
end
end
end
2011-05-31 07:36:32 -07:00