Sha256: 4d96e73746ed15459eb4a94526d28c7adddef8a1995981722bebb5950fef17f0

Contents?: true

Size: 648 Bytes

Versions: 4

Compression:

Stored size: 648 Bytes

Contents

# coding: utf-8
# frozen_string_literal: true

module Engine2

    class SaveAction < Action
        include ActionSaveSupport
    end

    class InsertAction < SaveAction
        include ActionInsertSupport
        action_type :approve
    end

    class UpdateAction < SaveAction
        include ActionUpdateSupport
        action_type :approve
    end

    class StarToManyFieldInsertAction < InsertAction
        self.validate_only = true
        action_type :star_to_many_field_approve
    end

    class StarToManyFieldUpdateAction < UpdateAction
        self.validate_only = true
        action_type :star_to_many_field_approve
    end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
engine2-1.0.8 lib/engine2/action/save.rb
engine2-1.0.7 lib/engine2/action/save.rb
engine2-1.0.6 lib/engine2/action/save.rb
engine2-1.0.5 lib/engine2/action/save.rb