class Apiphobic::Responses::Invalid
Public Class Methods
call(_env, error:)
click to toggle source
# File lib/apiphobic/responses/invalid.rb, line 7 def self.call(_env, error:) [ error.http_status, {}, ["{\"errors\": [#{error.to_json}]}"], ] end