18 lines
323 B
Ruby
18 lines
323 B
Ruby
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
|