Class: Cb::Models::LanguageCode
- Inherits:
-
ApiResponseModel
- Object
- ApiResponseModel
- Cb::Models::LanguageCode
- Defined in:
- lib/cb/models/implementations/resumes/language_code.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#name ⇒ Object
Returns the value of attribute name.
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
#code ⇒ Object
Returns the value of attribute code.
14 15 16 |
# File 'lib/cb/models/implementations/resumes/language_code.rb', line 14 def code @code end |
#name ⇒ Object
Returns the value of attribute name.
14 15 16 |
# File 'lib/cb/models/implementations/resumes/language_code.rb', line 14 def name @name end |
Instance Method Details
#required_fields ⇒ Object
21 22 23 |
# File 'lib/cb/models/implementations/resumes/language_code.rb', line 21 def required_fields %w(Code Name) end |
#set_model_properties ⇒ Object
16 17 18 19 |
# File 'lib/cb/models/implementations/resumes/language_code.rb', line 16 def set_model_properties @code = api_response['Code'] @name = api_response['Name'] end |