impress/lib/rocketamf/remote_gateway/service.rb

19 lines
334 B
Ruby
Raw Normal View History

require File.join(File.dirname(__FILE__), 'action')
module RocketAMF
class RemoteGateway
class Service
attr_reader :gateway, :name
def initialize(gateway, name)
@gateway = gateway
@name = name
end
def action(name)
Action.new(self, name)
end
end
end
end