Sha256: 118aceef21a7cfa5d0e3dfab5cbda489dafa6062ed51de92d94fcf664df917d0

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

module IndeedJobsearch
  class Search
    attr_reader :query, :location
    def initialize(query, location)
      @query, @location = query, location
    end

    def page(page_number)
      SearchResultsFetcher.fetch(@query, @location, page_number)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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