Class: Pesepay::Response
- Inherits:
-
Object
- Object
- Pesepay::Response
- Defined in:
- lib/pesepay.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#pollUrl ⇒ Object
readonly
Returns the value of attribute pollUrl.
-
#redirectUrl ⇒ Object
readonly
Returns the value of attribute redirectUrl.
-
#referenceNumber ⇒ Object
readonly
Returns the value of attribute referenceNumber.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success, referenceNumber: nil, pollUrl: nil, redirectUrl: nil, message: nil) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(success, referenceNumber: nil, pollUrl: nil, redirectUrl: nil, message: nil) ⇒ Response
Returns a new instance of Response.
221 222 223 224 225 226 227 |
# File 'lib/pesepay.rb', line 221 def initialize(success, referenceNumber: nil, pollUrl: nil, redirectUrl: nil, message: nil) @success = success @referenceNumber = referenceNumber @pollUrl = pollUrl @redirectUrl = redirectUrl @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
219 220 221 |
# File 'lib/pesepay.rb', line 219 def @message end |
#pollUrl ⇒ Object (readonly)
Returns the value of attribute pollUrl.
219 220 221 |
# File 'lib/pesepay.rb', line 219 def pollUrl @pollUrl end |
#redirectUrl ⇒ Object (readonly)
Returns the value of attribute redirectUrl.
219 220 221 |
# File 'lib/pesepay.rb', line 219 def redirectUrl @redirectUrl end |
#referenceNumber ⇒ Object (readonly)
Returns the value of attribute referenceNumber.
219 220 221 |
# File 'lib/pesepay.rb', line 219 def referenceNumber @referenceNumber end |
#success ⇒ Object (readonly)
Returns the value of attribute success.
219 220 221 |
# File 'lib/pesepay.rb', line 219 def success @success end |