Class: HubStore::Exporter

Inherits:
Object
  • Object
show all
Defined in:
lib/hub_store/exporter.rb

Instance Method Summary collapse

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

#runObject



12
13
14
# File 'lib/hub_store/exporter.rb', line 12

def run
  export_csv
end