Exception: Bitstamp::Exception::ServiceError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bitstamp/exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ ServiceError

Returns a new instance of ServiceError.


6
7
8
# File 'lib/bitstamp/exception.rb', line 6

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageObject (readonly) Also known as: to_s

Returns the value of attribute message


4
5
6
# File 'lib/bitstamp/exception.rb', line 4

def message
  @message
end