Sha256: 9e0d972c4b464dfb6ad910b0db6e47bc7175d5dd43f1576efed131d7c83b0ca6
Contents?: true
Size: 384 Bytes
Versions: 1
Compression:
Stored size: 384 Bytes
Contents
require 'singleton' module RewardExpert # Client initial confiruration class class Configuration include Singleton attr_accessor :host, :api_prefix, :log_response, :auth def initialize @api_prefix = 'api/v2' @host = 'https://static.rewardexpert.com' @log_response = false @auth = nil # Array for basic auth [name, password] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reward_expert-0.1.0 | lib/reward_expert/configuration.rb |