Sha256: 88b9846eda9b0c3c6bb769f72ad814d2dbedbd1aabc6b80762ce86b43bf0fcb1

Contents?: true

Size: 711 Bytes

Versions: 2

Compression:

Stored size: 711 Bytes

Contents

require 'career_builder/client/authentication'
require 'career_builder/client/request'
require 'career_builder/client/advanced_resume_search'
require 'career_builder/client/get_resume'
require 'career_builder/client/resume_actions_remaining_today'

module CareerBuilder

  class Client

    include Authentication
    include Request
    include AdvancedResumeSearch
    include GetResume
    include ResumeActionsRemainingToday

    attr_reader :email, :password

    def initialize(email, password, options = {})
      @email, @password = email, password
      @debug = options.fetch(:debug) { false }
    end

    def resumes(options = {})
      Resume::LazyCollection.new(self, options)
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
career_builder-0.2.1 lib/career_builder/client.rb
career_builder-0.2.0 lib/career_builder/client.rb