Class: Spear::Structure::Resume::Create
- Defined in:
- lib/spear/structure/resume/create.rb
Instance Attribute Summary collapse
-
#company_experiences ⇒ Object
Returns the value of attribute company_experiences.
-
#educations ⇒ Object
Returns the value of attribute educations.
-
#external_id ⇒ Object
readonly
Returns the value of attribute external_id.
-
#title ⇒ Object
Returns the value of attribute title.
-
#total_years_experience ⇒ Object
Returns the value of attribute total_years_experience.
-
#user_external_id ⇒ Object
readonly
Returns the value of attribute user_external_id.
Attributes inherited from Base
#error_message, #response, #root, #status
Instance Method Summary collapse
-
#initialize(response) ⇒ Create
constructor
A new instance of Create.
Methods inherited from Base
Constructor Details
#initialize(response) ⇒ Create
Returns a new instance of Create.
8 9 10 11 12 13 14 |
# File 'lib/spear/structure/resume/create.rb', line 8 def initialize(response) super(response) @external_id = @root['ResponseExternalID'] @user_external_id = @root['Request']['ExternalUserID'] @title = @root['Request']['Title'] end |
Instance Attribute Details
#company_experiences ⇒ Object
Returns the value of attribute company_experiences.
6 7 8 |
# File 'lib/spear/structure/resume/create.rb', line 6 def company_experiences @company_experiences end |
#educations ⇒ Object
Returns the value of attribute educations.
6 7 8 |
# File 'lib/spear/structure/resume/create.rb', line 6 def educations @educations end |
#external_id ⇒ Object (readonly)
Returns the value of attribute external_id.
5 6 7 |
# File 'lib/spear/structure/resume/create.rb', line 5 def external_id @external_id end |
#title ⇒ Object
Returns the value of attribute title.
6 7 8 |
# File 'lib/spear/structure/resume/create.rb', line 6 def title @title end |
#total_years_experience ⇒ Object
Returns the value of attribute total_years_experience.
6 7 8 |
# File 'lib/spear/structure/resume/create.rb', line 6 def total_years_experience @total_years_experience end |
#user_external_id ⇒ Object (readonly)
Returns the value of attribute user_external_id.
5 6 7 |
# File 'lib/spear/structure/resume/create.rb', line 5 def user_external_id @user_external_id end |