impress/lib/rocketamf/remote_gateway.rb

19 lines
323 B
Ruby
Raw Normal View History

require 'net/http'
require 'rocketamf'
require_relative 'remote_gateway/service'
require_relative '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