Sha256: 2d71a9a399887143e92ad890e6c69cfa1fb5d30eac7ccb3ddb34974f594e0c0e

Contents?: true

Size: 215 Bytes

Versions: 21

Compression:

Stored size: 215 Bytes

Contents

# frozen_string_literal: true

module PaidUp
  # Class for 'rolify_rows' feature setting type
  class RolifyFeatureSettingType < FeatureSettingType
    def rows
      scope.with_role(:owner, user)
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
paid_up-0.12.3 lib/paid_up/feature_setting_types/rolify.rb