Class: BERTRPC::Request
- Inherits:
-
Object
- Object
- BERTRPC::Request
- Defined in:
- lib/bertrpc/request.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(svc, kind, options) ⇒ Request
constructor
A new instance of Request.
- #method_missing(cmd, *args) ⇒ Object
Constructor Details
#initialize(svc, kind, options) ⇒ Request
Returns a new instance of Request.
5 6 7 8 9 |
# File 'lib/bertrpc/request.rb', line 5 def initialize(svc, kind, ) @svc = svc @kind = kind @options = end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind.
3 4 5 |
# File 'lib/bertrpc/request.rb', line 3 def kind @kind end |
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/bertrpc/request.rb', line 3 def @options end |