Class: SolidusNexio::ApmSource

Inherits:
Spree::PaymentSource
  • Object
show all
Defined in:
app/models/solidus_nexio/apm_source.rb

Instance Method Summary collapse

Instance Method Details

#nameObject



19
20
21
# File 'app/models/solidus_nexio/apm_source.rb', line 19

def name
  I18n.t("nexio.apms.#{kind}.name")
end

#reusable?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'app/models/solidus_nexio/apm_source.rb', line 15

def reusable?
  gateway_payment_profile_id.present?
end