Exception: TryApi::ArgumentError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/try_api/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ ArgumentError

Returns a new instance of ArgumentError.



19
20
21
# File 'lib/try_api/exceptions.rb', line 19

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



17
18
19
# File 'lib/try_api/exceptions.rb', line 17

def message
  @message
end