Class: JeraPayment::Parsers::Iugu::HouseholdParser
- Inherits:
-
Object
- Object
- JeraPayment::Parsers::Iugu::HouseholdParser
- Defined in:
- lib/jera_payment/parsers/iugu/household_parser.rb
Class Method Summary collapse
Class Method Details
.create_household(household) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/jera_payment/parsers/iugu/household_parser.rb', line 5 def self.create_household(household) { agency: household.agency, account: household.account, account_type: household.account_type.checking? ? 'cc' : 'cp', bank: household.bank_iugu_code } end |