Exception: ZuoraConnect::Exceptions::OrganizationAccessForbidden
- Inherits:
-
Error
- Object
- StandardError
- Error
- ZuoraConnect::Exceptions::OrganizationAccessForbidden
- Defined in:
- lib/zuora_connect/exceptions.rb
Instance Attribute Summary collapse
-
#default_message ⇒ Object
writeonly
Sets the attribute default_message.
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ OrganizationAccessForbidden
constructor
A new instance of OrganizationAccessForbidden.
- #to_s ⇒ Object
Constructor Details
#initialize(message = nil) ⇒ OrganizationAccessForbidden
Returns a new instance of OrganizationAccessForbidden.
73 74 75 76 |
# File 'lib/zuora_connect/exceptions.rb', line 73 def initialize( = nil) @message = @default_message = "You are not authorized to access with the current organization." end |
Instance Attribute Details
#default_message=(value) ⇒ Object (writeonly)
Sets the attribute default_message
71 72 73 |
# File 'lib/zuora_connect/exceptions.rb', line 71 def (value) @default_message = value end |
Instance Method Details
#to_s ⇒ Object
78 79 80 |
# File 'lib/zuora_connect/exceptions.rb', line 78 def to_s @message || @default_message end |