Sha256: 502bd7ffb226ac5eb80e544517506ef62f11d208086d7074b60dd674cadb38ee

Contents?: true

Size: 493 Bytes

Versions: 20

Compression:

Stored size: 493 Bytes

Contents

module Aptible
  module Api
    class Service < Resource
      belongs_to :account
      belongs_to :app
      belongs_to :database
      belongs_to :current_release
      has_many :vhosts
      has_many :operations
      has_many :releases

      field :id
      field :handle
      field :docker_repo
      field :docker_ref
      field :process_type
      field :command
      field :container_count
      field :created_at, type: Time
      field :updated_at, type: Time
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
aptible-api-0.8.3 lib/aptible/api/service.rb
aptible-api-0.8.2 lib/aptible/api/service.rb
aptible-api-0.8.1 lib/aptible/api/service.rb
aptible-api-0.8.0 lib/aptible/api/service.rb
aptible-api-0.7.17 lib/aptible/api/service.rb
aptible-api-0.7.14 lib/aptible/api/service.rb
aptible-api-0.7.13 lib/aptible/api/service.rb
aptible-api-0.7.12 lib/aptible/api/service.rb
aptible-api-0.7.11 lib/aptible/api/service.rb
aptible-api-0.7.10 lib/aptible/api/service.rb
aptible-api-0.7.9 lib/aptible/api/service.rb
aptible-api-0.7.8 lib/aptible/api/service.rb
aptible-api-0.7.7 lib/aptible/api/service.rb
aptible-api-0.7.6 lib/aptible/api/service.rb
aptible-api-0.7.5 lib/aptible/api/service.rb
aptible-api-0.7.4 lib/aptible/api/service.rb
aptible-api-0.7.3 lib/aptible/api/service.rb
aptible-api-0.7.2 lib/aptible/api/service.rb
aptible-api-0.7.1 lib/aptible/api/service.rb
aptible-api-0.7.0 lib/aptible/api/service.rb