Class: Cufinder::CurrentJob
- Inherits:
-
Object
- Object
- Cufinder::CurrentJob
- Defined in:
- lib/cufinder_ruby/types.rb
Overview
Current job information
Instance Attribute Summary collapse
-
#level ⇒ Object
Returns the value of attribute level.
-
#role ⇒ Object
Returns the value of attribute role.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ CurrentJob
constructor
A new instance of CurrentJob.
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
#level ⇒ Object
Returns the value of attribute level.
115 116 117 |
# File 'lib/cufinder_ruby/types.rb', line 115 def level @level end |
#role ⇒ Object
Returns the value of attribute role.
115 116 117 |
# File 'lib/cufinder_ruby/types.rb', line 115 def role @role end |
#title ⇒ Object
Returns the value of attribute title.
115 116 117 |
# File 'lib/cufinder_ruby/types.rb', line 115 def title @title end |