class Idnow::JsonResponse
Attributes
data[R]
Public Class Methods
new(raw_response)
click to toggle source
Calls superclass method
# File lib/idnow/json_response.rb, line 7 def initialize(raw_response) super raw_response = '{}' if raw_response == '' @data = JSON.parse(raw_response) end