impress/lib/rocketamf/remote_gateway/service.rb

17 lines
305 B
Ruby
Raw Normal View History

module RocketAMF
class RemoteGateway
class Service
attr_reader :gateway, :name
def initialize(gateway, name)
@gateway = gateway
@name = name
end
2012-08-11 15:47:25 -07:00
def request(method, *params)
Request.new(self, method, *params)
end
end
end
end