class Fakturan::ResourceInvalid
Attributes
model[R]
Public Class Methods
new(model)
click to toggle source
Calls superclass method
# File lib/fakturan_nu/error.rb, line 58 def initialize(model) @model = model msg = @model.errors.details #to_a.join(" ") super(msg) end
Public Instance Methods
status()
click to toggle source
# File lib/fakturan_nu/error.rb, line 56 def status; 422; end