Sha256: a6d47cd1e26345705ad766f5a2aca85a053f6e5007df291870743fd0715ddf67

Contents?: true

Size: 407 Bytes

Versions: 2

Compression:

Stored size: 407 Bytes

Contents

module Stove
  class Action::Base
    extend Mixin::Loggable
    extend Mixin::Optionable
    extend Mixin::Validatable

    option :id
    option :description

    attr_reader :cookbook
    attr_reader :options

    def initialize(cookbook, options = {})
      @cookbook, @options = cookbook, options
    end

    def run
      raise Error::AbstractMethod.new(method: 'Action::Base#run')
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stove-2.0.0.beta.2 lib/stove/actions/base.rb
stove-2.0.0.beta.1 lib/stove/actions/base.rb