class Facile::Response::Wrapper::Json

Attributes

body[R]
parsed_body[R]

Public Class Methods

new(body) click to toggle source
# File lib/facile/response/wrapper/json.rb, line 4
def initialize(body)
  @body = body
  @parsed_body = ::Facile::Response::Wrapper::Mash.new(JSON.parse(body))
end

Public Instance Methods

to_s() click to toggle source
# File lib/facile/response/wrapper/json.rb, line 9
def to_s
  @body
end