Sha256: 7345ea0efb33a885a3257b442f36b5c7b053ee5931415d848bdb7ec5c0ff9362

Contents?: true

Size: 315 Bytes

Versions: 5

Compression:

Stored size: 315 Bytes

Contents

module Careerbuilder
  class Configuration
    attr_accessor :api_token

    def initialize
      @api_token = nil
    end

    def api_token
      raise Errors::Configuration, "Careerbuilder API token missing! See the documentation for configuration settings." unless @api_token
      @api_token
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
careerbuilder-0.1.4 lib/careerbuilder/configuration.rb
careerbuilder-0.1.3 lib/careerbuilder/configuration.rb
careerbuilder-0.1.2 lib/careerbuilder/configuration.rb
careerbuilder-0.1.1 lib/careerbuilder/configuration.rb
careerbuilder-0.1.0 lib/careerbuilder/configuration.rb