Sha256: 051f492a35eb909aad30a477916213008862f47da3ff5eda59105be8f397753a
Contents?: true
Size: 572 Bytes
Versions: 2
Compression:
Stored size: 572 Bytes
Contents
require 'json' 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zinc-api-0.0.2 | lib/zinc.rb |
zinc-api-0.0.1 | lib/zinc.rb |