Class: Protoplasm::Types::RequestResponseType
- Inherits:
-
Struct
- Object
- Struct
- Protoplasm::Types::RequestResponseType
- Defined in:
- lib/protoplasm/types/types.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
Returns the value of attribute field.
-
#request_class ⇒ Object
Returns the value of attribute request_class.
-
#response_class ⇒ Object
Returns the value of attribute response_class.
-
#streaming ⇒ Object
(also: #streaming?)
Returns the value of attribute streaming.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#field ⇒ Object
Returns the value of attribute field
36 37 38 |
# File 'lib/protoplasm/types/types.rb', line 36 def field @field end |
#request_class ⇒ Object
Returns the value of attribute request_class
36 37 38 |
# File 'lib/protoplasm/types/types.rb', line 36 def request_class @request_class end |
#response_class ⇒ Object
Returns the value of attribute response_class
36 37 38 |
# File 'lib/protoplasm/types/types.rb', line 36 def response_class @response_class end |
#streaming ⇒ Object Also known as: streaming?
Returns the value of attribute streaming
36 37 38 |
# File 'lib/protoplasm/types/types.rb', line 36 def streaming @streaming end |
#type ⇒ Object
Returns the value of attribute type
36 37 38 |
# File 'lib/protoplasm/types/types.rb', line 36 def type @type end |
Instance Method Details
#command_class ⇒ Object
40 41 42 |
# File 'lib/protoplasm/types/types.rb', line 40 def command_class request_class end |
#void? ⇒ Boolean
44 45 46 |
# File 'lib/protoplasm/types/types.rb', line 44 def void? response_class.nil? end |