Sha256: 925c9b02d70a1984fed83b88fd9fdd40ff9237bbddd4562b5489d3192cfd2780

Contents?: true

Size: 582 Bytes

Versions: 8

Compression:

Stored size: 582 Bytes

Contents

module Clever
  # Configuration for accessing the Clever API over HTTP
  class Configuration
    # Access API Key
    # @api private
    # @return [String]
    attr_accessor :api_key

    # Access API Token
    # @api private
    # @return [String]
    attr_accessor :token

    # Access API base URL
    # @api private
    # @return [String]
    attr_accessor :api_base

    # Initialize configuration
    # @api private
    # @return [Clever::Configuration]
    def initialize
      @api_key  = nil
      @token = nil
      @api_base = 'https://api.clever.com/'
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
clever-ruby-0.10.2 lib/clever-ruby/configuration.rb
clever-ruby-0.10.1 lib/clever-ruby/configuration.rb
clever-ruby-0.10.0 lib/clever-ruby/configuration.rb
clever-ruby-0.9.0 lib/clever-ruby/configuration.rb
clever-ruby-0.8.0 lib/clever-ruby/configuration.rb
clever-ruby-0.7.0 lib/clever-ruby/configuration.rb
clever-ruby-0.6.2 lib/clever-ruby/configuration.rb
clever-ruby-0.6.1 lib/clever-ruby/configuration.rb