Class: FCS::SendmsgRequest
- Inherits:
-
HashRequest
- Object
- Request
- HashRequest
- FCS::SendmsgRequest
- Defined in:
- lib/fcs/sendmsg_request.rb
Constant Summary
Constants inherited from Request
Request::VALID_COMMANDS, Request::VALID_HASH_COMMANDS, Request::VALID_STRING_COMMANDS
Instance Method Summary collapse
-
#execute(app, *args) ⇒ Object
convenience method.
Methods inherited from HashRequest
#generate_command, #initialize, #update_command
Methods inherited from Request
#dispatch!, #dispatch_raw!, #generate_command, #initialize, #method_missing, #update_command
Constructor Details
This class inherits a constructor from FCS::HashRequest
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FCS::Request
Instance Method Details
#execute(app, *args) ⇒ Object
convenience method
6 7 8 |
# File 'lib/fcs/sendmsg_request.rb', line 6 def execute(app, *args) self.call_command(:execute).execute_app_name(app).execute_app_arg(args.map(&:to_s).join(' ')) end |