17 lines
309 B
Ruby
17 lines
309 B
Ruby
|
module RocketAMF
|
||
|
class RemoteGateway
|
||
|
class Service
|
||
|
attr_reader :gateway, :name
|
||
|
|
||
|
def initialize(gateway, name)
|
||
|
@gateway = gateway
|
||
|
@name = name
|
||
|
end
|
||
|
|
||
|
def fetch(method, *params)
|
||
|
Request.new(self, method, *params).fetch
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|