class OffsitePayments::Integrations::PoliPay::FinancialInstitution

See www.polipaymentdeveloper.com/ficode#getfinancialinstitutions_response

Attributes

code[R]
name[R]

Public Class Methods

new(attr) click to toggle source
# File lib/offsite_payments/integrations/poli_pay.rb, line 254
def initialize(attr)
   @name   = attr.fetch('Name')
   @code   = attr.fetch('Code')
   @online = attr.fetch('Online')
end

Public Instance Methods

online?() click to toggle source
# File lib/offsite_payments/integrations/poli_pay.rb, line 260
def online?
  !!@online
end