Exception: Petfinder::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Petfinder::Error
- Defined in:
- lib/petfinder.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(data) ⇒ Error
Returns a new instance of Error.
13 14 15 16 |
# File 'lib/petfinder.rb', line 13 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
12 13 14 |
# File 'lib/petfinder.rb', line 12 def data @data end |