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
15 16 17 |
# File 'lib/protoplasm/types/types.rb', line 15 def field @field end |
#request_class ⇒ Object
Returns the value of attribute request_class
15 16 17 |
# File 'lib/protoplasm/types/types.rb', line 15 def request_class @request_class end |
#response_class ⇒ Object
Returns the value of attribute response_class
15 16 17 |
# File 'lib/protoplasm/types/types.rb', line 15 def response_class @response_class end |
#streaming ⇒ Object Also known as: streaming?
Returns the value of attribute streaming
15 16 17 |
# File 'lib/protoplasm/types/types.rb', line 15 def streaming @streaming end |
#type ⇒ Object
Returns the value of attribute type
15 16 17 |
# File 'lib/protoplasm/types/types.rb', line 15 def type @type end |
Instance Method Details
#command_class ⇒ Object
19 20 21 |
# File 'lib/protoplasm/types/types.rb', line 19 def command_class request_class end |
#void? ⇒ Boolean
23 24 25 |
# File 'lib/protoplasm/types/types.rb', line 23 def void? response_class.nil? end |