Sha256: cbc4a457b16cbfe5fabf83c58a4cf4d780352ff46db5a7c654996fea6961467d

Contents?: true

Size: 371 Bytes

Versions: 3

Compression:

Stored size: 371 Bytes

Contents

module Majestic
  module Api
    class Configuration
      attr_accessor :environment, :api_key, :verbose, :user_agent
    
      def initialize
        self.environment  =   :sandbox
        self.api_key      =   nil
        self.verbose      =   false
        self.user_agent   =   "Ruby Majestic API Client v#{Majestic::Api::VERSION}"
      end
    
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
majestic-api-1.4.2 lib/majestic/api/configuration.rb
majestic-api-1.4.1 lib/majestic/api/configuration.rb
majestic-api-1.4.0 lib/majestic/api/configuration.rb