Exception: Tumblr::Error::TumblrError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/tumblr/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ TumblrError

Returns a new instance of TumblrError.



6
7
8
9
# File 'lib/tumblr/error.rb', line 6

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



4
5
6
# File 'lib/tumblr/error.rb', line 4

def data
  @data
end