Exception: Fanforce::Error::Forbidden
Overview
Current API key does not allow access
Instance Attribute Summary
#env, #public_errors
Instance Method Summary
collapse
#curl_command, #for, #format_error, #format_errors, #initialize
Instance Method Details
#code ⇒ Object
62
|
# File 'lib/fanforce/errors/errors.rb', line 62
def code; 403 end
|
#default_error_code ⇒ Object
65
|
# File 'lib/fanforce/errors/errors.rb', line 65
def default_error_code; :weak_api_key end
|
#default_message ⇒ Object
63
|
# File 'lib/fanforce/errors/errors.rb', line 63
def default_message; 'API Key Forbids Access' end
|
#valid_error_codes ⇒ Object
64
|
# File 'lib/fanforce/errors/errors.rb', line 64
def valid_error_codes; [:weak_api_key] end
|