Class: SimpleDeploy::StackReader
- Inherits:
-
Object
- Object
- SimpleDeploy::StackReader
- Defined in:
- lib/simple_deploy/stack/stack_reader.rb
Instance Method Summary collapse
- #attributes ⇒ Object
- #events ⇒ Object
-
#initialize(args) ⇒ StackReader
constructor
A new instance of StackReader.
- #instances ⇒ Object
- #outputs ⇒ Object
- #resources ⇒ Object
- #status ⇒ Object
- #template ⇒ Object
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
#attributes ⇒ Object
10 11 12 |
# File 'lib/simple_deploy/stack/stack_reader.rb', line 10 def attributes @sf.attributes end |
#events ⇒ Object
22 23 24 |
# File 'lib/simple_deploy/stack/stack_reader.rb', line 22 def events @sr.events end |
#instances ⇒ Object
14 15 16 |
# File 'lib/simple_deploy/stack/stack_reader.rb', line 14 def instances @sf.instances_public_ip_addresses end |
#outputs ⇒ Object
26 27 28 |
# File 'lib/simple_deploy/stack/stack_reader.rb', line 26 def outputs @sr.outputs end |
#resources ⇒ Object
30 31 32 |
# File 'lib/simple_deploy/stack/stack_reader.rb', line 30 def resources @sr.resources end |
#status ⇒ Object
18 19 20 |
# File 'lib/simple_deploy/stack/stack_reader.rb', line 18 def status @sr.status end |
#template ⇒ Object
34 35 36 |
# File 'lib/simple_deploy/stack/stack_reader.rb', line 34 def template @sr.template end |