class LastbillClient::Error::Unauthorized

@author ciappa_m@modulotech.fr Generic 401 error sent by Lastbill server

Public Class Methods

new(msg = "401 Unauthorized") click to toggle source
Calls superclass method LastbillClient::Error::Generic::new
# File lib/lastbill_client/error/unauthorized.rb, line 8
def initialize(msg = "401 Unauthorized")
  super(status: :unauthorized, message: msg)
end