Sha256: 660c07066e6843fe5455661608eb5694e3c6f6cba31783a84e579508be745689

Contents?: true

Size: 262 Bytes

Versions: 7

Compression:

Stored size: 262 Bytes

Contents

module Approval
  module Mixins
    def acts_as_approval_resource(ignore_fields: [])
      include ::Approval::ActsAsResource
      assign_ignore_fields(ignore_fields)
    end

    def acts_as_approval_user
      include ::Approval::ActsAsUser
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
approval-0.7.1 app/models/concerns/approval/mixins.rb
approval-0.7.0 app/models/concerns/approval/mixins.rb
approval-0.6.1 app/models/concerns/approval/mixins.rb
approval-0.6.0 app/models/concerns/approval/mixins.rb
approval-0.5.0 app/models/concerns/approval/mixins.rb
approval-0.4.0 app/models/concerns/approval/mixins.rb
approval-0.3.7 app/models/concerns/approval/mixins.rb