Sha256: a9f4003bc025d87954b7b5cc2b5d76714f55da00e6d3a133c27137ff061c686e
Contents?: true
Size: 484 Bytes
Versions: 1
Compression:
Stored size: 484 Bytes
Contents
require "faraday" require "faraday_middleware" require "sqoot/version" require "sqoot/client" directory = File.expand_path(File.dirname(__FILE__)) module Sqoot class << self attr_accessor :affiliate_token, :authentication_token, :api_url # Configure default credentials easily # # @yield [Sqoot] def configure load_defaults yield self true end def load_defaults self.api_url ||= "http://api.sqoot.com/v1" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sqoot-1.0.0 | lib/sqoot.rb |