Class: Balanced::Merchant
- Inherits:
-
Object
- Object
- Balanced::Merchant
- Includes:
- Resource
- Defined in:
- lib/balanced/resources/merchant.rb
Overview
Resource representing the marketplace merchant object.
Instance Attribute Summary
Attributes included from Resource
Class Method Summary collapse
-
.me ⇒ Merchant
Returns the Merchant associated with your Marketplace.
Instance Method Summary collapse
-
#me ⇒ Merchant
Returns the Merchant associated with your Marketplace.
Methods included from Resource
#copy_from, #destroy, #find, included, #initialize, #method_missing, #reload, #save, #warn_on_positional
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Balanced::Resource
Class Method Details
.me ⇒ Merchant
Returns the Merchant associated with your Marketplace.
9 10 11 |
# File 'lib/balanced/resources/merchant.rb', line 9 def self.me self.all.first end |
Instance Method Details
#me ⇒ Merchant
Returns the Merchant associated with your Marketplace.
16 17 18 |
# File 'lib/balanced/resources/merchant.rb', line 16 def me self.class.me end |