Sha256: f0910eadd1565a008fae89eeeca20004fb527696cb2062d6bfe91d0e2749bfde

Contents?: true

Size: 346 Bytes

Versions: 6

Compression:

Stored size: 346 Bytes

Contents

module Balanced
  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

6 entries across 6 versions & 1 rubygems

Version Path
balanced-0.3.11 lib/balanced/resources/merchant.rb
balanced-0.3.10 lib/balanced/resources/merchant.rb
balanced-0.3.8 lib/balanced/resources/merchant.rb
balanced-0.3.7 lib/balanced/resources/merchant.rb
balanced-0.3.6 lib/balanced/resources/merchant.rb
balanced-0.3.5 lib/balanced/resources/merchant.rb