Class: RespondForHelper::Formats::Json

Inherits:
Base
  • Object
show all
Defined in:
lib/respond_for_helper/formats/json.rb

Instance Attribute Summary

Attributes inherited from Base

#behaviour, #controller, #format, #item, #result

Instance Method Summary collapse

Methods inherited from Base

#call, #initialize

Constructor Details

This class inherits a constructor from RespondForHelper::Formats::Base

Instance Method Details

#item_errorsObject



8
9
10
# File 'lib/respond_for_helper/formats/json.rb', line 8

def item_errors
  @item.errors
end