class Clubhouse::ClubhouseAPIError

Public Class Methods

new(response) click to toggle source
Calls superclass method
# File lib/clubhouse2/exceptions.rb, line 9
def initialize(response)
        super('api error (%d): %s' % [ response.code, response.to_s ])
end