Class: PagarMe::Company

Inherits:
PagarMeObject show all
Defined in:
lib/pagarme/resources/company.rb

Constant Summary

Constants inherited from PagarMeObject

PagarMeObject::RESOURCES

Instance Attribute Summary

Attributes inherited from PagarMeObject

#attributes

Instance Method Summary collapse

Methods inherited from PagarMeObject

#==, #[]=, convert, #empty?, #initialize, #respond_to?, #to_hash, #to_s, #unsaved_attributes

Constructor Details

This class inherits a constructor from PagarMe::PagarMeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PagarMe::PagarMeObject

Instance Method Details

#default_recipientObject



3
4
5
# File 'lib/pagarme/resources/company.rb', line 3

def default_recipient
  PagarMe::Recipient.find default_recipient_by_env
end