18 lines
303 B
Ruby
18 lines
303 B
Ruby
require 'net/http'
|
|
require 'rocketamf'
|
|
require File.join(File.dirname(__FILE__), 'remote_gateway', 'service')
|
|
|
|
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
|
|
|