class ThreeScale::Core::APIClient::JSONError

Public Class Methods

new(error) click to toggle source
Calls superclass method
# File lib/3scale/core/api_client/resource.rb, line 33
def initialize(error)
  msg = error.respond_to?(:message) ? error.message : error
  super "#{self.class}: #{msg[0,512]}"
end