Class: Cufinder::CjaJob
- Inherits:
-
Object
- Object
- Cufinder::CjaJob
- Defined in:
- lib/cufinder_ruby/types.rb
Overview
CJA Job listing
Instance Attribute Summary collapse
-
#job_id ⇒ Object
Returns the value of attribute job_id.
-
#location ⇒ Object
Returns the value of attribute location.
-
#posted_at ⇒ Object
Returns the value of attribute posted_at.
-
#posted_at_text ⇒ Object
Returns the value of attribute posted_at_text.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ CjaJob
constructor
A new instance of CjaJob.
Constructor Details
#initialize(data = {}) ⇒ CjaJob
Returns a new instance of CjaJob.
718 719 720 721 722 723 724 725 |
# File 'lib/cufinder_ruby/types.rb', line 718 def initialize(data = {}) @job_id = data["job_id"] @title = data["title"] @url = data["url"] @location = data["location"] @posted_at = data["posted_at"] @posted_at_text = data["posted_at_text"] end |
Instance Attribute Details
#job_id ⇒ Object
Returns the value of attribute job_id.
716 717 718 |
# File 'lib/cufinder_ruby/types.rb', line 716 def job_id @job_id end |
#location ⇒ Object
Returns the value of attribute location.
716 717 718 |
# File 'lib/cufinder_ruby/types.rb', line 716 def location @location end |
#posted_at ⇒ Object
Returns the value of attribute posted_at.
716 717 718 |
# File 'lib/cufinder_ruby/types.rb', line 716 def posted_at @posted_at end |
#posted_at_text ⇒ Object
Returns the value of attribute posted_at_text.
716 717 718 |
# File 'lib/cufinder_ruby/types.rb', line 716 def posted_at_text @posted_at_text end |
#title ⇒ Object
Returns the value of attribute title.
716 717 718 |
# File 'lib/cufinder_ruby/types.rb', line 716 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
716 717 718 |
# File 'lib/cufinder_ruby/types.rb', line 716 def url @url end |