Method: JSONAPI::Document::Error#to_h

Defined in:
lib/easy/jsonapi/document/error.rb

#to_hObject

Represent an Error as a hash



42
43
44
# File 'lib/easy/jsonapi/document/error.rb', line 42

def to_h
  JSONAPI::Utility.to_h_collection(self)
end