Exception: ZuoraConnect::Exceptions::SessionInvalid
- 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) ⇒ SessionInvalid
constructor
A new instance of SessionInvalid.
- #to_s ⇒ Object
Constructor Details
#initialize(message = nil) ⇒ SessionInvalid
Returns a new instance of SessionInvalid.
13 14 15 16 |
# File 'lib/zuora_connect/exceptions.rb', line 13 def initialize( = nil) @message = @default_message = "Session data invalid." end |
Instance Attribute Details
#default_message=(value) ⇒ Object (writeonly)
Sets the attribute default_message
11 12 13 |
# File 'lib/zuora_connect/exceptions.rb', line 11 def (value) @default_message = value end |
Instance Method Details
#to_s ⇒ Object
18 19 20 |
# File 'lib/zuora_connect/exceptions.rb', line 18 def to_s @message || @default_message end |