Sha256: b92bd1f347e99e70cbefec9a56074640b2af3e6496137872597e5bfc6ef24537

Contents?: true

Size: 313 Bytes

Versions: 16

Compression:

Stored size: 313 Bytes

Contents

require 'mkit/ctypes'

class ServiceConfig < ActiveRecord::Base
  belongs_to :service

  def self.create(service:, key:, value:, ctype: MKIt::CType::ENVIRONMENT)
    ServiceConfig.new(
      service: service,
      key: key,
      value: value,
      version: service.version,
      ctype: ctype
    )
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mkit-0.9.0 lib/mkit/app/model/service_config.rb
mkit-0.8.0 lib/mkit/app/model/service_config.rb
mkit-0.7.2 lib/mkit/app/model/service_config.rb
mkit-0.7.1 lib/mkit/app/model/service_config.rb
mkit-0.7.0 lib/mkit/app/model/service_config.rb
mkit-0.6.3 lib/mkit/app/model/service_config.rb
mkit-0.6.2 lib/mkit/app/model/service_config.rb
mkit-0.6.1 lib/mkit/app/model/service_config.rb
mkit-0.6.0 lib/mkit/app/model/service_config.rb
mkit-0.5.0 lib/mkit/app/model/service_config.rb
mkit-0.4.3 lib/mkit/app/model/service_config.rb
mkit-0.4.2 lib/mkit/app/model/service_config.rb
mkit-0.4.1 lib/mkit/app/model/service_config.rb
mkit-0.4.0 lib/mkit/app/model/service_config.rb
mkit-0.3.0 lib/mkit/app/model/service_config.rb
mkit-0.2.0 lib/mkit/app/model/service_config.rb