Exception: Onfleet::OnfleetError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/onfleet/onfleet_error.rb

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code.



3
4
5
# File 'lib/onfleet/onfleet_error.rb', line 3

def code
  @code
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/onfleet/onfleet_error.rb', line 3

def name
  @name
end