Sha256: 3dcfa8da31398f957ab5561e5b8f3a459810648b914fe1d9b1cb12292e7db65d

Contents?: true

Size: 304 Bytes

Versions: 44

Compression:

Stored size: 304 Bytes

Contents

module Perus::Server
    class ConfigMetric < Sequel::Model
        many_to_one :config
        many_to_one :command_config

        def config_hash
            command_config.config_hash
        end

        def after_destroy
            super
            command_config.destroy
        end
    end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
perus-0.1.23 lib/perus/server/models/config_metric.rb
perus-0.1.22 lib/perus/server/models/config_metric.rb
perus-0.1.21 lib/perus/server/models/config_metric.rb
perus-0.1.20 lib/perus/server/models/config_metric.rb
perus-0.1.19 lib/perus/server/models/config_metric.rb
perus-0.1.18 lib/perus/server/models/config_metric.rb
perus-0.1.17 lib/perus/server/models/config_metric.rb
perus-0.1.16 lib/perus/server/models/config_metric.rb
perus-0.1.15 lib/perus/server/models/config_metric.rb
perus-0.1.14 lib/perus/server/models/config_metric.rb
perus-0.1.13 lib/perus/server/models/config_metric.rb
perus-0.1.12 lib/perus/server/models/config_metric.rb
perus-0.1.11 lib/perus/server/models/config_metric.rb
perus-0.1.10 lib/perus/server/models/config_metric.rb
perus-0.1.9 lib/perus/server/models/config_metric.rb
perus-0.1.8 lib/perus/server/models/config_metric.rb
perus-0.1.7 lib/perus/server/models/config_metric.rb
perus-0.1.6 lib/perus/server/models/config_metric.rb
perus-0.1.5 lib/perus/server/models/config_metric.rb
perus-0.1.4 lib/perus/server/models/config_metric.rb