Sha256: e07ba070a452f56ea0baa20469836d96a6c60ae63687da56c6dc149f518b06c2

Contents?: true

Size: 406 Bytes

Versions: 5

Compression:

Stored size: 406 Bytes

Contents

class Inventory::Eb < Inventory::Base
  def header
    ["Environment", "Application", "Solution Stack"]
  end

  def data
    eb_environments.map do |environment|
      [
        environment.environment_name,
        environment.application_name,
        environment.solution_stack_name,
      ]
    end
  end

  def eb_environments
    @eb_environments ||= eb.describe_environments.environments
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
aws-inventory-0.3.2 lib/inventory/eb.rb
aws-inventory-0.3.1 lib/inventory/eb.rb
aws-inventory-0.3.0 lib/inventory/eb.rb
aws-inventory-0.2.1 lib/inventory/eb.rb
aws-inventory-0.2.0 lib/inventory/eb.rb