Sha256: 64bcbd83a9480a2eb77321333897a780677e35d90c62b27df56b8b4d65b12598
Contents?: true
Size: 579 Bytes
Versions: 3
Compression:
Stored size: 579 Bytes
Contents
require 'rest-client' module Zinc class << self attr_accessor :api_path, :access_token, :logger def api_path @api_path || 'https://api.zinc.io/v1' end def logger unless defined?(@logger) @logger = Logger.new(STDOUT) @logger.level = Logger::WARN end @logger end end end %w(model resource account_status address merchant_order_id order payment_method price_components product retailer_credentials seller_selection_criteria shipping tracking).each do |file| require File.dirname(__FILE__) + "/zinc/#{file}" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zinc-api-0.0.5 | lib/zinc.rb |
zinc-api-0.0.4 | lib/zinc.rb |
zinc-api-0.0.3 | lib/zinc.rb |