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.
844 845 846 847 |
# File 'lib/offsite_payments/integrations/realex_offsite.rb', line 844 def initialize(data, ) super @notification = Notification.new(data, ) end |
Instance Method Details
#cancelled? ⇒ Boolean
TODO: realex does not provide a separate cancelled endpoint
854 855 856 |
# File 'lib/offsite_payments/integrations/realex_offsite.rb', line 854 def cancelled? false end |
#message ⇒ Object
858 859 860 |
# File 'lib/offsite_payments/integrations/realex_offsite.rb', line 858 def notification. end |
#success? ⇒ Boolean
849 850 851 |
# File 'lib/offsite_payments/integrations/realex_offsite.rb', line 849 def success? notification.complete? end |