Exception: ZuoraAPI::Exceptions::ZuoraAPIRequestLimit
- Defined in:
- lib/zuora_api/exceptions.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#default_message ⇒ Object
writeonly
Sets the attribute default_message.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message = nil, response = nil, code = nil) ⇒ ZuoraAPIRequestLimit
constructor
A new instance of ZuoraAPIRequestLimit.
- #to_s ⇒ Object
Constructor Details
#initialize(message = nil, response = nil, code = nil) ⇒ ZuoraAPIRequestLimit
40 41 42 43 44 45 |
# File 'lib/zuora_api/exceptions.rb', line 40 def initialize( = nil,response=nil, code =nil) @code = code = @response = response = "Your request limit has been exceeded for zuora." end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
37 38 39 |
# File 'lib/zuora_api/exceptions.rb', line 37 def code @code end |
#default_message=(value) ⇒ Object (writeonly)
Sets the attribute default_message
38 39 40 |
# File 'lib/zuora_api/exceptions.rb', line 38 def (value) = value end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
37 38 39 |
# File 'lib/zuora_api/exceptions.rb', line 37 def response @response end |
Instance Method Details
#to_s ⇒ Object
47 48 49 |
# File 'lib/zuora_api/exceptions.rb', line 47 def to_s || end |