Class: Cfdef::Exporter

Inherits:
Object
  • Object
show all
Includes:
Utils::Helper
Defined in:
lib/cfdef/exporter.rb

Constant Summary collapse

CONCURRENCY =
8

Instance Method Summary collapse

Methods included from Utils::Helper

#diff, #matched?

Constructor Details

#initialize(client, options = {}) ⇒ Exporter

Returns a new instance of Exporter.



6
7
8
9
# File 'lib/cfdef/exporter.rb', line 6

def initialize(client, options = {})
  @client = client
  @options = options
end

Instance Method Details

#exportObject



11
12
13
14
15
16
17
# File 'lib/cfdef/exporter.rb', line 11

def export
  {
    distributions: export_distributions,
    # TODO:
    #streaming_distributions: export_streaming_distributions,
  }.sort_array!
end