Sha256: 4a64ec15787da07974723bed2b16a51de6f6e1da923101730bfb7d25d68ac07f
Contents?: true
Size: 584 Bytes
Versions: 3
Compression:
Stored size: 584 Bytes
Contents
require "Northern911Api/version" require "Northern911Api/configuration" require 'Northern911Api/client' require 'Northern911Api/model/customer' module Northern911Api class << self attr_reader :configuration end def self.configuration @configuration ||= Configuration.new end def self.configure yield configuration end def self.reset @configuration = Configuration.new end def self.mode configuration.sandbox ? :sandbox : :live end def self.sandbox? configuration.sandbox end def self.live? !configuration.sandbox end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
northern911-client-0.1.2 | lib/Northern911Api.rb |
Northern911ApiClient-0.1.1 | lib/Northern911Api.rb |
northern911-client-0.1.1 | lib/Northern911Api.rb |