Class: OffsitePayments::Integrations::RealexOffsite::Return
- Defined in:
- lib/offsite_payments/integrations/realex_offsite.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.
296 297 298 299 |
# File 'lib/offsite_payments/integrations/realex_offsite.rb', line 296 def initialize(data, ) super @notification = Notification.new(data, ) end |
Instance Method Details
#cancelled? ⇒ Boolean
TODO: realex does not provide a separate cancelled endpoint
306 307 308 |
# File 'lib/offsite_payments/integrations/realex_offsite.rb', line 306 def cancelled? false end |
#message ⇒ Object
310 311 312 |
# File 'lib/offsite_payments/integrations/realex_offsite.rb', line 310 def notification. end |
#success? ⇒ Boolean
301 302 303 |
# File 'lib/offsite_payments/integrations/realex_offsite.rb', line 301 def success? notification.complete? end |