Class: Cufinder::CurrentJob

Inherits:
Object
  • Object
show all
Defined in:
lib/cufinder_ruby/types.rb

Overview

Current job information

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = {}) ⇒ CurrentJob

Returns a new instance of CurrentJob.



117
118
119
120
121
# File 'lib/cufinder_ruby/types.rb', line 117

def initialize(data = {})
  @title = data["title"]
  @role = data["role"]
  @level = data["level"]
end

Instance Attribute Details

#levelObject

Returns the value of attribute level.



115
116
117
# File 'lib/cufinder_ruby/types.rb', line 115

def level
  @level
end

#roleObject

Returns the value of attribute role.



115
116
117
# File 'lib/cufinder_ruby/types.rb', line 115

def role
  @role
end

#titleObject

Returns the value of attribute title.



115
116
117
# File 'lib/cufinder_ruby/types.rb', line 115

def title
  @title
end