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