class ExternalServices::Api::Error
Attributes
response[R]
Public Class Methods
new(response)
click to toggle source
# File lib/external_services/api.rb, line 9 def initialize(response) @response = response end
Public Instance Methods
inspect()
click to toggle source
# File lib/external_services/api.rb, line 19 def inspect "#{self.class}: #{to_s}" end
message()
click to toggle source
# File lib/external_services/api.rb, line 13 def message @response.inspect end
Also aliased as: to_s