Sha256: 4fc8239ba4485aea032046f10dda3660f15e659ba208b0e19bdc6958f43a4d14

Contents?: true

Size: 396 Bytes

Versions: 2

Compression:

Stored size: 396 Bytes

Contents

module IndeedJobsearch
  class SearchResult
    attr_reader :job_title, :company, :location, :time_since_posting, :time_scraped, :url
    def initialize(job_title:, company:, location:, time_since_posting:, time_scraped:, url:)
      @job_title, @company, @location, @time_since_posting, @time_scraped, @url = job_title, company, location, time_since_posting, time_scraped, url
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
indeed_jobsearch-0.1.1 lib/indeed_jobsearch/search_result.rb
indeed_jobsearch-0.1.0 lib/indeed_jobsearch/search_result.rb