Class: Cufinder::CjaJob

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

Overview

CJA Job listing

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject

Returns the value of attribute job_id.



716
717
718
# File 'lib/cufinder_ruby/types.rb', line 716

def job_id
  @job_id
end

#locationObject

Returns the value of attribute location.



716
717
718
# File 'lib/cufinder_ruby/types.rb', line 716

def location
  @location
end

#posted_atObject

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_textObject

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

#titleObject

Returns the value of attribute title.



716
717
718
# File 'lib/cufinder_ruby/types.rb', line 716

def title
  @title
end

#urlObject

Returns the value of attribute url.



716
717
718
# File 'lib/cufinder_ruby/types.rb', line 716

def url
  @url
end