Sha256: 9a6433c3db8e7b3e0192739cfeaed08b7f3f69e6c3bdf1cb22d15d627f6adab1

Contents?: true

Size: 686 Bytes

Versions: 8

Compression:

Stored size: 686 Bytes

Contents

#
# +Shippo+ is the ruby module enclosing all and any ruby-based
# functionality developed by Shippo, Inc.
#
# This gem providers wrappers for Shippo API in ruby. You are
# not required to use any particular library to access Shippo
# API, but it is our hope that this gem helps you bootstrap your
# Shippo integration.
#

module Shippo
end

require 'shippo/api'

# Backwards compatibility
module Shippo
  def self.api_key(value)
    ::Shippo::API.token = value
  end
  def self.api_version(value)
    ::Shippo::API.version = value
  end
  class << self
    alias_method :api_version=, :api_version
    alias_method :api_key=, :api_key
    alias_method :api_token=, :api_key
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shippo-4.0.0 lib/shippo.rb
shippo-3.1.0 lib/shippo.rb
shippo-3.0.1 lib/shippo.rb
shippo-3.0.0 lib/shippo.rb
shippo-2.0.8 lib/shippo.rb
shippo-2.0.7 lib/shippo.rb
shippo-2.0.6 lib/shippo.rb
shippo-2.0.5 lib/shippo.rb