Exception: Ari::ServerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ari/server_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ ServerError

Returns a new instance of ServerError.


4
5
6
# File 'lib/ari/server_error.rb', line 4

def initialize(code)
  @code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code


3
4
5
# File 'lib/ari/server_error.rb', line 3

def code
  @code
end