Class: Spear::Structure::Resume::Ownall

Inherits:
Base
  • Object
show all
Defined in:
lib/spear/structure/resume/ownall.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) ⇒ Ownall

Returns a new instance of Ownall.



7
8
9
10
# File 'lib/spear/structure/resume/ownall.rb', line 7

def initialize(response)
  super(response)
  @resumes = extract_resume(@root['Resumes']) rescue nil
end

Instance Attribute Details

#resumesObject (readonly)

Returns the value of attribute resumes.



5
6
7
# File 'lib/spear/structure/resume/ownall.rb', line 5

def resumes
  @resumes
end