Class: NexusMods::Api::Resource
- Inherits:
-
Object
- Object
- NexusMods::Api::Resource
- Defined in:
- lib/nexus_mods/api/resource.rb
Overview
Base class for any API resource
Instance Method Summary collapse
-
#initialize(nexus_mods:) ⇒ Resource
constructor
Constructor.
Constructor Details
#initialize(nexus_mods:) ⇒ Resource
Constructor
- Parameters
-
nexus_mods (NexusMods): The NexusMods API instance that the resource can use to query for other resources
12 13 14 |
# File 'lib/nexus_mods/api/resource.rb', line 12 def initialize(nexus_mods:) @nexus_mods = nexus_mods end |