Exception: Recurly::Error

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

Overview

The exception class from which all Recurly exceptions inherit.

Instance Method Summary collapse

Instance Method Details

#set_message(message) ⇒ Object



28
29
30
# File 'lib/recurly.rb', line 28

def set_message message
  @message = message
end

#to_sString

Returns:

  • (String)


33
34
35
# File 'lib/recurly.rb', line 33

def to_s
  defined? @message and @message or super
end