Class: Summon::Error

Inherits:
Schema show all
Defined in:
lib/summon/schema/error.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Schema

inherited

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



2
3
4
# File 'lib/summon/schema/error.rb', line 2

def code
  @code
end

#messageObject (readonly)

Returns the value of attribute message.



4
5
6
# File 'lib/summon/schema/error.rb', line 4

def message
  @message
end

#suggestionObject (readonly)

Returns the value of attribute suggestion.



3
4
5
# File 'lib/summon/schema/error.rb', line 3

def suggestion
  @suggestion
end