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-1.2.1 lib/rundock/hook/base.rb
rundock-1.2.0 lib/rundock/hook/base.rb
rundock-1.1.7 lib/rundock/hook/base.rb
rundock-1.1.6 lib/rundock/hook/base.rb
rundock-1.1.5 lib/rundock/hook/base.rb
rundock-1.1.4 lib/rundock/hook/base.rb
rundock-1.1.3 lib/rundock/hook/base.rb
rundock-1.1.2 lib/rundock/hook/base.rb
rundock-1.1.1 lib/rundock/hook/base.rb
rundock-1.1.0 lib/rundock/hook/base.rb
rundock-1.0.8 lib/rundock/hook/base.rb
rundock-1.0.7 lib/rundock/hook/base.rb
rundock-1.0.6 lib/rundock/hook/base.rb
rundock-1.0.5 lib/rundock/hook/base.rb
rundock-1.0.4 lib/rundock/hook/base.rb
rundock-1.0.2 lib/rundock/hook/base.rb
rundock-1.0.1 lib/rundock/hook/base.rb
rundock-1.0.0 lib/rundock/hook/base.rb
rundock-0.5.8 lib/rundock/hook/base.rb
rundock-0.5.7 lib/rundock/hook/base.rb