Exception: Tumblr4r::TumblrError
- Inherits:
-
StandardError
- Object
- StandardError
- Tumblr4r::TumblrError
- Defined in:
- lib/tumblr4r.rb
Instance Attribute Summary collapse
-
#attachment ⇒ Object
Returns the value of attribute attachment.
Instance Method Summary collapse
-
#initialize(msg, attachment = nil) ⇒ TumblrError
constructor
A new instance of TumblrError.
Constructor Details
#initialize(msg, attachment = nil) ⇒ TumblrError
Returns a new instance of TumblrError.
18 19 20 21 |
# File 'lib/tumblr4r.rb', line 18 def initialize(msg, =nil) super(msg) @attachment = end |
Instance Attribute Details
#attachment ⇒ Object
Returns the value of attribute attachment.
17 18 19 |
# File 'lib/tumblr4r.rb', line 17 def @attachment end |