class Exceptions::Result
Public: A Result
represents the result of an exception notification. It’s an object that conforms to the following interface:
`id` - The exception id from the third party service. `url` - A URL to view the exception in the third party service. `ok?` - True if the exception was successfully shuttled.
This class is mostly a reference implementation but anything that conforms to the above interface is acceptable to return.
Attributes
id[R]
url[R]
Public Class Methods
new(id = nil)
click to toggle source
# File lib/exceptions/result.rb, line 14 def initialize(id = nil) @id = id end
Public Instance Methods
ok?()
click to toggle source
# File lib/exceptions/result.rb, line 22 def ok? true end