class Mailgun::Error
Attributes
object[R]
Public Class Methods
new(message=nil, object=nil)
click to toggle source
# File lib/mailgun/exceptions/exceptions.rb, line 6 def initialize(message=nil, object=nil) @message = message @object = object end
Public Instance Methods
to_s()
click to toggle source
# File lib/mailgun/exceptions/exceptions.rb, line 11 def to_s @message || self.class.to_s end