Sha256: 49f84091188335caaf263923834fe1accbbed792cddd5d3092124194ae551c59

Contents?: true

Size: 646 Bytes

Versions: 1

Compression:

Stored size: 646 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

1 entries across 1 versions & 1 rubygems

Version Path
engine2-1.0.9 lib/engine2/action/save.rb