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.



5
6
7
# File 'lib/hub_store/exporter.rb', line 5

def initialize(resource:)
  @resource = resource
end

Instance Method Details

#runObject



9
10
11
# File 'lib/hub_store/exporter.rb', line 9

def run
  export_csv
end