Sha256: 990372453ac7da0a0cc814e208cb531b8bd07ec18e8daa5dd165ee1f43369f33

Contents?: true

Size: 389 Bytes

Versions: 28

Compression:

Stored size: 389 Bytes

Contents

module Rundock
  module Hook
    class Base
      HookNotImplementedError = Class.new(NotImplementedError)

      attr_reader :name
      attr_reader :contents

      def initialize(name, contents = {})
        @name = name
        @contents = contents
      end

      def hook(operation_attributes = [], log_buffer = [])
        raise HookNotImplementedError
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
rundock-0.5.4 lib/rundock/hook/base.rb
rundock-0.5.3 lib/rundock/hook/base.rb
rundock-0.5.2 lib/rundock/hook/base.rb
rundock-0.5.0 lib/rundock/hook/base.rb
rundock-0.4.16 lib/rundock/hook/base.rb
rundock-0.4.15 lib/rundock/hook/base.rb
rundock-0.4.14 lib/rundock/hook/base.rb
rundock-0.4.13 lib/rundock/hook/base.rb