Sha256: 96c2cb646ddcea149e0cd1cb8e65ca48822a8f5798399fdabd29ee3804bdc4a8
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
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 attr_accessor :connection_retry_count DEFAULT_CONNECTION_RETRY_COUNT = 5 class << self attr_accessor :connection_retry_count end self.connection_retry_count = DEFAULT_CONNECTION_RETRY_COUNT def initialize(email, password, options = {}) @email, @password = email, password @debug = options.fetch(:debug) { false } @connection_retry_count = options.fetch(:connection_retry_count) { Client.connection_retry_count } end def resumes(options = {}) Resume::LazyCollection.new(self, options) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
career_builder-0.2.2 | lib/career_builder/client.rb |