Sha256: ea9e57b03eb8eee6be80f0a31e79e9c913fd51393d0698dc1e8c47dacb427ae0

Contents?: true

Size: 325 Bytes

Versions: 11

Compression:

Stored size: 325 Bytes

Contents

module OpenStax::Aws
  class SecretsSet

    def initialize(secrets_array)
      @secrets_array = [secrets_array].flatten
    end

    def create
      @secrets_array.each(&:create)
    end

    def update
      @secrets_array.map(&:update).any?
    end

    def delete
      @secrets_array.each(&:delete)
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
openstax_aws-2.1.0 lib/openstax/aws/secrets_set.rb
openstax_aws-2.0.1 lib/openstax/aws/secrets_set.rb
openstax_aws-2.0.0 lib/openstax/aws/secrets_set.rb
openstax_aws-1.6.1 lib/openstax/aws/secrets_set.rb
openstax_aws-1.6.0 lib/openstax/aws/secrets_set.rb
openstax_aws-1.5.0 lib/openstax/aws/secrets_set.rb
openstax_aws-1.4.0 lib/openstax/aws/secrets_set.rb
openstax_aws-1.3.0 lib/openstax/aws/secrets_set.rb
openstax_aws-1.2.0 lib/openstax/aws/secrets_set.rb
openstax_aws-1.1.0 lib/openstax/aws/secrets_set.rb
openstax_aws-1.0.0 lib/openstax/aws/secrets_set.rb