Sha256: ea3f44bb05b904634c82bea2a7f5f3a7908c6b30e7dc64221c2f5a8926b5b519
Contents?: true
Size: 679 Bytes
Versions: 7
Compression:
Stored size: 679 Bytes
Contents
module Balanced # # class Marketplace include Balanced::Resource include Balanced::HypermediaRegistry define_hypermedia_types [:marketplaces] class << self # Returns an instance representing the marketplace associated with # the current API key. # # @return [Marketplace] def my_marketplace Balanced::Marketplace.where.first end alias mine my_marketplace end # Returns an instance representing the marketplace associated with # the current API key. # # @return [Marketplace] def my_marketplace self.class.my_marketplace end alias mine my_marketplace end end
Version data entries
7 entries across 7 versions & 1 rubygems