Class: Cb::Models::ApiResponseModel
- Inherits:
-
Object
- Object
- Cb::Models::ApiResponseModel
- Defined in:
- lib/cb/models/api_response_model.rb
Direct Known Subclasses
Application, Cb::Models::Application::Answer, Cb::Models::Application::CoverLetter, Cb::Models::Application::Form, Cb::Models::Application::Question, Cb::Models::Application::Response, Cb::Models::Application::Resume, CountryCode, Job, LanguageCode, RecommendedJob, Resume, ResumeDocument, ResumeListing, Resumes::Education, Resumes::GovernmentAndMilitary, Resumes::Relocation, Resumes::SalaryInformation, Resumes::SkillsAndQualifications, Resumes::WorkExperience, State
Instance Attribute Summary collapse
-
#api_response ⇒ Object
Returns the value of attribute api_response.
Instance Method Summary collapse
-
#initialize(response = {}) ⇒ ApiResponseModel
constructor
A new instance of ApiResponseModel.
Constructor Details
#initialize(response = {}) ⇒ ApiResponseModel
Returns a new instance of ApiResponseModel.
16 17 18 19 20 |
# File 'lib/cb/models/api_response_model.rb', line 16 def initialize(response = {}) @api_response = response validate_api_response set_model_properties end |
Instance Attribute Details
#api_response ⇒ Object
Returns the value of attribute api_response.
14 15 16 |
# File 'lib/cb/models/api_response_model.rb', line 14 def api_response @api_response end |