Class: Cb::Models::ResumeDataList
- Inherits:
-
ApiResponseModel
- Object
- ApiResponseModel
- Cb::Models::ResumeDataList
- Defined in:
- lib/cb/models/implementations/data_lists/resume_data_list.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#value ⇒ Object
Returns the value of attribute value.
Attributes inherited from ApiResponseModel
Instance Method Summary collapse
Methods inherited from ApiResponseModel
Constructor Details
This class inherits a constructor from Cb::Models::ApiResponseModel
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
4 5 6 |
# File 'lib/cb/models/implementations/data_lists/resume_data_list.rb', line 4 def key @key end |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/cb/models/implementations/data_lists/resume_data_list.rb', line 4 def value @value end |
Instance Method Details
#required_fields ⇒ Object
11 12 13 |
# File 'lib/cb/models/implementations/data_lists/resume_data_list.rb', line 11 def required_fields ['key', 'value'] end |
#set_model_properties ⇒ Object
6 7 8 9 |
# File 'lib/cb/models/implementations/data_lists/resume_data_list.rb', line 6 def set_model_properties @key = api_response['key'] @value = api_response['value'] end |