Sha256: 803024563f39a1e2fc3f13bdbe9fa721cd6b0dd4c00950f76981abb5810a3d44
Contents?: true
Size: 529 Bytes
Versions: 62
Compression:
Stored size: 529 Bytes
Contents
module Opsicle class Deployments def initialize(client) @client = client end def data deployments(reload: true) end def deployments(options={}) # Only call the API again if you need to @deployments = nil if options[:reload] @deployments ||= @client.api_call('describe_deployments', :stack_id => @client.config.opsworks_config[:stack_id] )[:deployments] end private :deployments end end
Version data entries
62 entries across 62 versions & 1 rubygems