Exception: Shoppe::Errors::PaymentDeclined

Inherits:
Shoppe::Error
  • Object
show all
Defined in:
lib/shoppe/errors/payment_declined.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ PaymentDeclined

Returns a new instance of PaymentDeclined.



5
6
7
# File 'lib/shoppe/errors/payment_declined.rb', line 5

def initialize(options)
  @options = options
end

Instance Method Details

#messageObject



9
10
11
# File 'lib/shoppe/errors/payment_declined.rb', line 9

def message
  @options[:message]
end