Class: CatarseCredits::PaymentEngine

Inherits:
Object
  • Object
show all
Defined in:
lib/catarse_credits/payment_engine.rb

Instance Method Summary collapse

Instance Method Details

#can_do_refund?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/catarse_credits/payment_engine.rb', line 12

def can_do_refund?
  false
end

#localeObject



16
17
18
# File 'lib/catarse_credits/payment_engine.rb', line 16

def locale
  'pt'
end

#nameObject



4
5
6
# File 'lib/catarse_credits/payment_engine.rb', line 4

def name
  'Credits'
end

#review_path(contribution) ⇒ Object



8
9
10
# File 'lib/catarse_credits/payment_engine.rb', line 8

def review_path contribution
  CatarseCredits::Engine.routes.url_helpers.review_credit_path(contribution)
end