Exception: Gateway::ArgumentError

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

Overview

Argument error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ ArgumentError

Initialize

Parameters:

  • message (String)


30
31
32
# File 'lib/gateway/errors.rb', line 30

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



23
24
25
# File 'lib/gateway/errors.rb', line 23

def message
  @message
end