Sha256: 1aa6f8e2cf6800d260e114124c616bc3717a2c84f87b345dbaf93ad90fe7b6c1

Contents?: true

Size: 409 Bytes

Versions: 14

Compression:

Stored size: 409 Bytes

Contents

module Awspec::Type
  class ElastictranscoderPipeline < Base
    def initialize(id)
      super
      @resource_via_client = find_pipeline(id)
      @id = @resource_via_client.id if @resource_via_client
    end

    STATUSES = %w(
      Active Paused
    )

    STATUSES.each do |status|
      define_method status.underscore + '?' do
        @resource_via_client.status == status
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
awspec-0.55.0 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.54.0 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.52.4 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.52.3 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.52.2 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.52.1 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.52.0 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.51.0 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.50.0 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.49.0 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.48.0 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.47.0 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.46.0 lib/awspec/type/elastictranscoder_pipeline.rb
awspec-0.45.0 lib/awspec/type/elastictranscoder_pipeline.rb