Sha256: 6826216594a2061e6651ff19695a5d195d3dd433095d6f9f57c067148c197921

Contents?: true

Size: 305 Bytes

Versions: 44

Compression:

Stored size: 305 Bytes

Contents

module Perus::Server
    class ScriptCommand < Sequel::Model
        many_to_one :script
        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.3 lib/perus/server/models/script_command.rb
perus-0.1.2 lib/perus/server/models/script_command.rb
perus-0.1.1 lib/perus/server/models/script_command.rb
perus-0.1.0 lib/perus/server/models/script_command.rb