Sha256: 5b77e535447b654002e9c54037c35d9e41de9e1a228f79f4355e1dfed1f91f5d

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 Bytes

Contents

require 'json'

module SimpleDeploy
  class StackReader

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

    def attributes
      @sf.attributes
    end

    def instances
      @sf.instances_public_ip_addresses
    end

    def status
      @sr.status
    end

    def events
      @sr.events
    end

    def outputs
      @sr.outputs
    end

    def resources
      @sr.resources
    end

    def template
      @sr.template
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_deploy-0.4.5 lib/simple_deploy/stack/stack_reader.rb
simple_deploy-0.4.5.rc.0 lib/simple_deploy/stack/stack_reader.rb
simple_deploy-0.4.4 lib/simple_deploy/stack/stack_reader.rb
simple_deploy-0.4.3 lib/simple_deploy/stack/stack_reader.rb
simple_deploy-0.4.2 lib/simple_deploy/stack/stack_reader.rb
simple_deploy-0.4.1 lib/simple_deploy/stack/stack_reader.rb