Class: SimpleDeploy::StackReader

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_deploy/stack/stack_reader.rb

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ StackReader

Returns a new instance of StackReader.



5
6
7
8
# File 'lib/simple_deploy/stack/stack_reader.rb', line 5

def initialize(args)
  @sf = Stackster::StackFormater.new args
  @sr = Stackster::StackReader.new args
end

Instance Method Details

#attributesObject



10
11
12
# File 'lib/simple_deploy/stack/stack_reader.rb', line 10

def attributes
  @sf.attributes
end

#eventsObject



22
23
24
# File 'lib/simple_deploy/stack/stack_reader.rb', line 22

def events
  @sr.events
end

#instancesObject



14
15
16
# File 'lib/simple_deploy/stack/stack_reader.rb', line 14

def instances
  @sf.instances_public_ip_addresses
end

#outputsObject



26
27
28
# File 'lib/simple_deploy/stack/stack_reader.rb', line 26

def outputs
  @sr.outputs
end

#resourcesObject



30
31
32
# File 'lib/simple_deploy/stack/stack_reader.rb', line 30

def resources
  @sr.resources
end

#statusObject



18
19
20
# File 'lib/simple_deploy/stack/stack_reader.rb', line 18

def status
  @sr.status
end

#templateObject



34
35
36
# File 'lib/simple_deploy/stack/stack_reader.rb', line 34

def template
  @sr.template
end