Sha256: e9028a4b6e736ac4022363a97bfdceb1c7bcd7a2be5408e878975e5d991703f3

Contents?: true

Size: 534 Bytes

Versions: 1

Compression:

Stored size: 534 Bytes

Contents

# frozen_string_literal: true

module Tataru
  # create subroutines
  module CreateSubroutines
    def create_instructions
      @rrep.check_required_fields!
      [
        *load_resource_instructions,
        { key: :properties },
        { value_rom: @rrep.name },
        :create
      ]
    end

    def check_create_instructions
      [
        *load_resource_instructions,
        :check_create
      ]
    end

    def commit_create_instructions
      []
    end

    def finish_create_instructions
      []
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tataru-0.2.0 lib/tataru/create_subroutines.rb