Exception: TradingviewScreener::RequestError
- Defined in:
- lib/tradingview_screener/client.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message, status: nil, body: nil) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(message, status: nil, body: nil) ⇒ RequestError
Returns a new instance of RequestError.
13 14 15 16 17 |
# File 'lib/tradingview_screener/client.rb', line 13 def initialize(, status: nil, body: nil) super() @status = status @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
11 12 13 |
# File 'lib/tradingview_screener/client.rb', line 11 def body @body end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
11 12 13 |
# File 'lib/tradingview_screener/client.rb', line 11 def status @status end |