Sha256: d6a3a6848324f3fd624a185136eb8042d450d9f84020520c492d96e3e7d28077
Contents?: true
Size: 442 Bytes
Versions: 3
Compression:
Stored size: 442 Bytes
Contents
module RiskalyzeAPI class << self attr_accessor :config end def self.config @configuration ||= Configuration.new end def self.configure yield config end class Configuration attr_accessor :debug, :url, :api_key, :oauth_token, :authorization_type def initialize @authorization_type = 'ApiKey' # ApiKey | Bearer @debug = false @url = 'https://api2.riskalyze.com/ap/v1' end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
riskalyze_api-0.2.0 | lib/riskalyze_api/configuration.rb |
riskalyze_api-0.1.0 | lib/riskalyze_api/configuration.rb |
riskalyze-api-0.1.0 | lib/riskalyze_api/configuration.rb |