Class: Protoplasm::Types::RequestResponseType

Inherits:
Struct
  • Object
show all
Defined in:
lib/protoplasm/types/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fieldObject

Returns the value of attribute field



36
37
38
# File 'lib/protoplasm/types/types.rb', line 36

def field
  @field
end

#request_classObject

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_classObject

Returns the value of attribute response_class



36
37
38
# File 'lib/protoplasm/types/types.rb', line 36

def response_class
  @response_class
end

#streamingObject 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

#typeObject

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_classObject



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