Class: Supreme::Transaction
Overview
Response to a fetch request
Instance Attribute Summary
Attributes inherited from Response
#body
Instance Method Summary
collapse
Methods inherited from Response
#error?, for, #initialize
Instance Method Details
#amount ⇒ Object
48
49
50
|
# File 'lib/supreme/response.rb', line 48
def amount
text('//amount')
end
|
#transaction_id ⇒ Object
44
45
46
|
# File 'lib/supreme/response.rb', line 44
def transaction_id
text('//transaction_id')
end
|
#url ⇒ Object
52
53
54
55
|
# File 'lib/supreme/response.rb', line 52
def url
text('//URL').gsub('&', '&')
end
|