class Nimbu::Response::Json
Public Instance Methods
parse(body)
click to toggle source
# File lib/nimbu-api/response/json.rb, line 16 def parse(body) case body when '' nil when 'true' true when 'false' false else self.class.parser.call body end end