Class: OffsitePayments::Integrations::Realex::Return
- Defined in:
- lib/offsite_payments/integrations/realex.rb
Instance Attribute Summary
Attributes inherited from Return
Instance Method Summary collapse
-
#cancelled? ⇒ Boolean
TODO: realex does not provide a separate cancelled endpoint.
-
#initialize(data, options) ⇒ Return
constructor
A new instance of Return.
- #message ⇒ Object
- #success? ⇒ Boolean
Methods inherited from Return
Constructor Details
#initialize(data, options) ⇒ Return
Returns a new instance of Return.
273 274 275 276 |
# File 'lib/offsite_payments/integrations/realex.rb', line 273 def initialize(data, ) super @notification = Notification.new(data, ) end |
Instance Method Details
#cancelled? ⇒ Boolean
TODO: realex does not provide a separate cancelled endpoint
283 284 285 |
# File 'lib/offsite_payments/integrations/realex.rb', line 283 def cancelled? false end |
#message ⇒ Object
287 288 289 |
# File 'lib/offsite_payments/integrations/realex.rb', line 287 def notification. end |
#success? ⇒ Boolean
278 279 280 |
# File 'lib/offsite_payments/integrations/realex.rb', line 278 def success? notification.complete? end |