class Clerk::Errors::Base

Attributes

status[R]

Public Class Methods

new(msg, status:) click to toggle source
Calls superclass method
# File lib/clerk/errors.rb, line 6
def initialize(msg, status:)
  @errors = msg["errors"]
  @status = status
  super(msg.merge("status" => status))
end