Exception: ExactTarget::ReadonlyError
- Defined in:
- lib/exact_target/error.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(name) ⇒ ReadonlyError
constructor
A new instance of ReadonlyError.
- #to_s ⇒ Object
Constructor Details
#initialize(name) ⇒ ReadonlyError
Returns a new instance of ReadonlyError.
36 37 38 |
# File 'lib/exact_target/error.rb', line 36 def initialize(name) @name = name end |
Instance Method Details
#to_s ⇒ Object
40 41 42 |
# File 'lib/exact_target/error.rb', line 40 def to_s "#{@name} is not allowed when the client is set to readonly" end |