class Signable::Query::Response

Public Instance Methods

object() click to toggle source
# File lib/signable/query/response.rb, line 9
def object
  @object ||= JSON.parse(http_response.body)
end
ok?() click to toggle source
# File lib/signable/query/response.rb, line 5
def ok?
  [200, 202].include?(http_response.code.to_i)
end