Exception: Recurly::Error

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

Overview

The exception class from which all Recurly exceptions inherit.

Instance Method Summary collapse

Instance Method Details

#set_message(message) ⇒ Object



4
5
6
# File 'lib/recurly/error.rb', line 4

def set_message message
  @message = message
end

#to_sString

Returns:

  • (String)


9
10
11
# File 'lib/recurly/error.rb', line 9

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