Class: DruidClient::Api::Resource
- Inherits:
-
Object
- Object
- DruidClient::Api::Resource
- Extended by:
- Forwardable
- Defined in:
- lib/druid_client/api/resource.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(rest_client:) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(rest_client:) ⇒ Resource
Returns a new instance of Resource.
12 13 14 |
# File 'lib/druid_client/api/resource.rb', line 12 def initialize(rest_client:) @rest_client = rest_client end |