Exception: Gateway::StandardError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gateway/errors.rb

Overview

Standard error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ StandardError

Initialize

Parameters:

  • message (String)


13
14
15
# File 'lib/gateway/errors.rb', line 13

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



6
7
8
# File 'lib/gateway/errors.rb', line 6

def message
  @message
end