class SecretHub::APIError
Attributes
response[R]
Public Class Methods
new(response)
click to toggle source
Calls superclass method
# File lib/secret_hub/exceptions.rb, line 9 def initialize(response) @response = response super "[#{response.code}] #{response.body}" end