Class: Pesepay::StatusResponse
- Inherits:
-
Object
- Object
- Pesepay::StatusResponse
- Defined in:
- lib/pesepay.rb
Instance Attribute Summary collapse
-
#paid ⇒ Object
readonly
Returns the value of attribute paid.
-
#poll_url ⇒ Object
readonly
Returns the value of attribute poll_url.
-
#raw_data ⇒ Object
readonly
Returns the value of attribute raw_data.
-
#reference_number ⇒ Object
readonly
Returns the value of attribute reference_number.
Instance Method Summary collapse
-
#initialize(reference_number: nil, poll_url: nil, paid: false, json_string: nil) ⇒ StatusResponse
constructor
A new instance of StatusResponse.
Constructor Details
#initialize(reference_number: nil, poll_url: nil, paid: false, json_string: nil) ⇒ StatusResponse
Returns a new instance of StatusResponse.
236 237 238 239 240 241 |
# File 'lib/pesepay.rb', line 236 def initialize(reference_number: nil, poll_url: nil, paid: false, json_string: nil) @paid = paid @reference_number = reference_number @poll_url = poll_url @raw_data = json_string end |
Instance Attribute Details
#paid ⇒ Object (readonly)
Returns the value of attribute paid.
234 235 236 |
# File 'lib/pesepay.rb', line 234 def paid @paid end |
#poll_url ⇒ Object (readonly)
Returns the value of attribute poll_url.
234 235 236 |
# File 'lib/pesepay.rb', line 234 def poll_url @poll_url end |
#raw_data ⇒ Object (readonly)
Returns the value of attribute raw_data.
234 235 236 |
# File 'lib/pesepay.rb', line 234 def raw_data @raw_data end |
#reference_number ⇒ Object (readonly)
Returns the value of attribute reference_number.
234 235 236 |
# File 'lib/pesepay.rb', line 234 def reference_number @reference_number end |