Sha256: d90416f6bb0e2e54322de309e2ebf6841b94918f63d79e7f4c00e1734f56acac

Contents?: true

Size: 404 Bytes

Versions: 14

Compression:

Stored size: 404 Bytes

Contents

module Balanced
  # Resource representing the marketplace merchant object.
  class Merchant
    include Balanced::Resource

    # Returns the Merchant associated with your Marketplace.
    #
    # @return [Merchant]
    def self.me
      self.all.first
    end

    # Returns the Merchant associated with your Marketplace.
    #
    # @return [Merchant]
    def me
      self.class.me
    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
balanced-0.8.2 lib/balanced/resources/merchant.rb
balanced-0.8.1 lib/balanced/resources/merchant.rb
balanced-0.7.5 lib/balanced/resources/merchant.rb
balanced-0.7.4 lib/balanced/resources/merchant.rb
balanced-0.7.2 lib/balanced/resources/merchant.rb
balanced-0.7.1 lib/balanced/resources/merchant.rb
balanced-0.7.0 lib/balanced/resources/merchant.rb
balanced-0.6.0 lib/balanced/resources/merchant.rb
balanced-0.5.6 lib/balanced/resources/merchant.rb
balanced-0.5.5 lib/balanced/resources/merchant.rb
balanced-0.5.4 lib/balanced/resources/merchant.rb
balanced-0.5.3 lib/balanced/resources/merchant.rb
balanced-0.5.2 lib/balanced/resources/merchant.rb
balanced-0.5.1 lib/balanced/resources/merchant.rb