Sha256: 188106e9d1cd2b77a720b6f3427786b59077c82617ee340210ca0732050e3441
Contents?: true
Size: 473 Bytes
Versions: 13
Compression:
Stored size: 473 Bytes
Contents
# frozen_string_literal: true module Awspec::Type class ElastictranscoderPipeline < ResourceBase def resource_via_client @resource_via_client ||= find_pipeline(@display_name) end def 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
13 entries across 13 versions & 1 rubygems