Class: JeraPayment::Parsers::Iugu::HouseholdParser

Inherits:
Object
  • Object
show all
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_type: household..checking? ? 'cc' : 'cp',
    bank: household.bank_iugu_code
  }
end