class Permutation::API::Response
Attributes
status[R]
Public Class Methods
new(status, body)
click to toggle source
# File lib/tools/api.rb, line 6 def initialize(status, body) @status = status @body = body end
Public Instance Methods
body()
click to toggle source
# File lib/tools/api.rb, line 12 def body @parsed_body ||= JSON.parse @body, symbolize_names: false end