Class: HubStore::Exporter
- Inherits:
-
Object
- Object
- HubStore::Exporter
- Defined in:
- lib/hub_store/exporter.rb
Instance Method Summary collapse
-
#initialize(resource:) ⇒ Exporter
constructor
A new instance of Exporter.
- #run ⇒ Object
Constructor Details
#initialize(resource:) ⇒ Exporter
Returns a new instance of Exporter.
8 9 10 |
# File 'lib/hub_store/exporter.rb', line 8 def initialize(resource:) @resource = resource end |
Instance Method Details
#run ⇒ Object
12 13 14 |
# File 'lib/hub_store/exporter.rb', line 12 def run export_csv end |