class FusionAuth::JSONResponseHandler
Attributes
type[RW]
Public Class Methods
new(type)
click to toggle source
# File lib/fusionauth/rest_client.rb, line 376 def initialize(type) @type = type end
Public Instance Methods
call(body)
click to toggle source
# File lib/fusionauth/rest_client.rb, line 380 def call(body) JSON.parse(body, :object_class => @type) end