Sha256: 821b11b840965279ba1521069be65fddeebb37bc0ce7e846f577ec7b7ff664c6

Contents?: true

Size: 623 Bytes

Versions: 15

Compression:

Stored size: 623 Bytes

Contents

class Ey::Core::Client::ComponentAction < Ey::Core::Model
  extend Ey::Core::Associations
  include Ey::Core::Subscribable

  identity :id

  attribute :command
  attribute :exit_code, type: :integer
  attribute :message
  attribute :name
  attribute :successful, type: :boolean
  attribute :uri

  attribute :created_at, type: :time
  attribute :finished_at, type: :time
  attribute :started_at, type: :time
  attribute :updated_at, type: :time

  has_one :account
  has_one :requester, resource: :request
  has_one :task

  has_many :dependencies, key: :request
  has_many :logs

  def ready?
    !!finished_at
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ey-pro-cli-0.0.17 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.16 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.15 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.14 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.13 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.12 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.11 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.10 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.9 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.8 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.7 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.6 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.5 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.4 lib/vendor/core/ey-core/models/component_action.rb
ey-pro-cli-0.0.3 lib/vendor/core/ey-core/models/component_action.rb