Class: Supreme::Error
Overview
Instance Attribute Summary
Attributes inherited from Response
#body
Instance Method Summary
collapse
Methods inherited from Response
for, #initialize
Instance Method Details
#code ⇒ Object
126
127
128
|
# File 'lib/supreme/response.rb', line 126
def code
text('//errorcode')
end
|
#error? ⇒ Boolean
122
123
124
|
# File 'lib/supreme/response.rb', line 122
def error?
true
end
|
#message ⇒ Object
130
131
132
|
# File 'lib/supreme/response.rb', line 130
def message
text('//message')
end
|