Class: Cfdef::Exporter

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

Instance Method Summary collapse

Methods included from Utils::Helper

#diff, #matched?

Constructor Details

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

Returns a new instance of Exporter.



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

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

Instance Method Details

#exportObject



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

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