Class: ActivePublicResources::ResponseTypes::BaseResponseType
- Inherits:
-
Object
- Object
- ActivePublicResources::ResponseTypes::BaseResponseType
- Includes:
- ActiveModel::Serialization
- Defined in:
- lib/active_public_resources/base_response_type.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#return_types ⇒ Object
Returns the value of attribute return_types.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
- #attributes ⇒ Object
-
#initialize ⇒ BaseResponseType
constructor
A new instance of BaseResponseType.
Constructor Details
#initialize ⇒ BaseResponseType
Returns a new instance of BaseResponseType.
8 9 10 |
# File 'lib/active_public_resources/base_response_type.rb', line 8 def initialize @return_types = [] end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/active_public_resources/base_response_type.rb', line 6 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/active_public_resources/base_response_type.rb', line 6 def id @id end |
#kind ⇒ Object
Returns the value of attribute kind.
6 7 8 |
# File 'lib/active_public_resources/base_response_type.rb', line 6 def kind @kind end |
#return_types ⇒ Object
Returns the value of attribute return_types.
6 7 8 |
# File 'lib/active_public_resources/base_response_type.rb', line 6 def return_types @return_types end |
#title ⇒ Object
Returns the value of attribute title.
6 7 8 |
# File 'lib/active_public_resources/base_response_type.rb', line 6 def title @title end |
Instance Method Details
#attributes ⇒ Object
12 13 14 |
# File 'lib/active_public_resources/base_response_type.rb', line 12 def attributes instance_values end |