1
0
Fork 0
forked from OpenNeo/impress
impress/lib/rocketamf/remote_gateway.rb
2011-05-31 10:36:32 -04:00

19 lines
374 B
Ruby

require 'net/http'
require 'rocketamf'
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
def initialize(url)
@uri = URI.parse url
end
def service(name)
Service.new(self, name)
end
end
end