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

20 lines
374 B
Ruby
Raw Normal View History

require 'net/http'
require 'rocketamf'
2011-05-31 07:36:32 -07:00
require File.join(File.dirname(__FILE__), 'remote_gateway', 'service')
require File.join(File.dirname(__FILE__), 'remote_gateway', 'request')
module RocketAMF
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