Class: SpreeCmCommissioner::PaymentMethodTypeMapper
- Inherits:
-
Object
- Object
- SpreeCmCommissioner::PaymentMethodTypeMapper
- Defined in:
- app/services/spree_cm_commissioner/payment_method_type_mapper.rb
Constant Summary collapse
- TYPES =
{ 'vattanac_mini_app' => 'Spree::Gateway::VattanacMiniApp' }.freeze
Class Method Summary collapse
Class Method Details
.call(type) ⇒ Object
7 8 9 |
# File 'app/services/spree_cm_commissioner/payment_method_type_mapper.rb', line 7 def self.call(type) TYPES[type.to_s.downcase] end |