Class: Comable::PaymentProvider::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/comable/payment_provider/base.rb

Direct Known Subclasses

General

Class Method Summary collapse

Class Method Details

.authorize!Object


17
18
19
# File 'lib/comable/payment_provider/base.rb', line 17

def authorize!
  true
end

.cancel!Object


25
26
27
# File 'lib/comable/payment_provider/base.rb', line 25

def cancel!
  true
end

.complete!Object


21
22
23
# File 'lib/comable/payment_provider/base.rb', line 21

def complete!
  true
end

.display_nameObject


9
10
11
# File 'lib/comable/payment_provider/base.rb', line 9

def display_name
  please_implement_method
end

.kindObject


13
14
15
# File 'lib/comable/payment_provider/base.rb', line 13

def kind
  please_implement_method
end

.name_symbolObject


5
6
7
# File 'lib/comable/payment_provider/base.rb', line 5

def name_symbol
  name.demodulize.underscore.to_sym
end

.resume!Object


29
30
31
# File 'lib/comable/payment_provider/base.rb', line 29

def resume!
  true
end