Class: DefraRubyGovpay::Refund
- Defined in:
- lib/defra_ruby_govpay/refund.rb
Overview
The Refund class represents a refund object in the Govpay Integration. It provides methods to check the status of a refund.
Instance Method Summary collapse
Methods inherited from Object
#initialize, #nil_value?, #string_reader, #to_ostruct
Constructor Details
This class inherits a constructor from DefraRubyGovpay::Object
Instance Method Details
#submitted? ⇒ Boolean
11 12 13 |
# File 'lib/defra_ruby_govpay/refund.rb', line 11 def submitted? status == "submitted" end |
#success? ⇒ Boolean
7 8 9 |
# File 'lib/defra_ruby_govpay/refund.rb', line 7 def success? status == "success" end |