Exception: Finnegans::RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- Finnegans::RequestError
- Defined in:
- lib/finnegans.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
We are following Rubocop Style to declare them and raise them github.com/rubocop-hq/ruby-style-guide#exception-class-messages.
Instance Method Summary collapse
-
#initialize(content) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(content) ⇒ RequestError
Returns a new instance of RequestError.
27 28 29 30 |
# File 'lib/finnegans.rb', line 27 def initialize(content) super @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
We are following Rubocop Style to declare them and raise them github.com/rubocop-hq/ruby-style-guide#exception-class-messages
25 26 27 |
# File 'lib/finnegans.rb', line 25 def content @content end |