Exception: WordpressApi::Errors::WordpressError
- Inherits:
-
StandardError
- Object
- StandardError
- WordpressApi::Errors::WordpressError
- Defined in:
- lib/wordpress_api/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ WordpressError
constructor
A new instance of WordpressError.
Constructor Details
#initialize(data) ⇒ WordpressError
Returns a new instance of WordpressError.
5 6 7 8 |
# File 'lib/wordpress_api/errors.rb', line 5 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
4 5 6 |
# File 'lib/wordpress_api/errors.rb', line 4 def data @data end |