Class: Tenable::Resources::Base
- Inherits:
-
Object
- Object
- Tenable::Resources::Base
- Includes:
- Pollable
- Defined in:
- lib/tenable/resources/base.rb
Overview
Base class for all API resource classes. Provides HTTP helpers and response handling with automatic error mapping.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(connection) ⇒ Base
constructor
A new instance of Base.
Methods included from Pollable
Constructor Details
#initialize(connection) ⇒ Base
Returns a new instance of Base.
11 12 13 |
# File 'lib/tenable/resources/base.rb', line 11 def initialize(connection) @connection = connection end |