Class: JSONAPIonify::CustomRescue::Error

Inherits:
Struct
  • Object
show all
Defined in:
lib/jsonapionify/custom_rescue.rb

Instance Attribute Summary collapse

Instance Attribute Details

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



34
35
36
# File 'lib/jsonapionify/custom_rescue.rb', line 34

def error
  @error
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



34
35
36
# File 'lib/jsonapionify/custom_rescue.rb', line 34

def source
  @source
end