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.
11 12 13 14 |
# File 'lib/zuora_connect/exceptions.rb', line 11 def initialize( = nil) @message = @default_message = "Session data invalid." end |
Instance Attribute Details
#default_message=(value) ⇒ Object (writeonly)
Sets the attribute default_message
9 10 11 |
# File 'lib/zuora_connect/exceptions.rb', line 9 def (value) @default_message = value end |
Instance Method Details
#to_s ⇒ Object
16 17 18 |
# File 'lib/zuora_connect/exceptions.rb', line 16 def to_s @message || @default_message end |