Class: Spear::Structure::Resume::Create

Inherits:
Base
  • Object
show all
Defined in:
lib/spear/structure/resume/create.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#error_message, #response, #root, #status

Instance Method Summary collapse

Methods inherited from Base

#success?

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_experiencesObject

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

#educationsObject

Returns the value of attribute educations.



6
7
8
# File 'lib/spear/structure/resume/create.rb', line 6

def educations
  @educations
end

#external_idObject (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

#titleObject

Returns the value of attribute title.



6
7
8
# File 'lib/spear/structure/resume/create.rb', line 6

def title
  @title
end

#total_years_experienceObject

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_idObject (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