Sha256: c7d0e6fbcd47cbd1c657684abca1786b34a883fbc4418f2d2eab1d8f01e51f8b

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

#
# This module contains all the methods required to consume the Spree API.
#
# Refer to the modules on the Spree::API namespace for more information.
#
# Spree::API::Country
# Spree::API::Product
# Spree::API::Taxonomy
# Spree::API::Variant
# Spree::API::Zone
#
module Spree
  #
  # Getter for the endpoint URL
  #
  def self.endpoint
    @endpoint
  end

  #
  # Setter for the endpoint URL
  #
  def self.endpoint=(uri)
    @endpoint = uri
  end

  extend Spree::API::Country
  extend Spree::API::Product
  extend Spree::API::ProductProperty
  extend Spree::API::Taxonomy
  extend Spree::API::Variant
  extend Spree::API::Zone
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree-wrap-0.0.2 motion/spree.rb