Sha256: 80a147c4bf2087cc223e149d8649b958248ebc6c769b40395e93860700dae8e8

Contents?: true

Size: 576 Bytes

Versions: 17

Compression:

Stored size: 576 Bytes

Contents

module OpenStax
  module Accounts
    module Dev
      class AccountsSearch < OpenStax::Accounts::AccountsSearch
        paramify :search do
          attribute :type, type: String
          attribute :query, type: String
          attribute :order_by, type: String
          attribute :page, type: Integer
          attribute :per_page, type: Integer
        end

        protected

        def initialize
          @min_characters = nil
          @max_items = nil
        end

        def authorized?
          !Rails.env.production?
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
openstax_accounts-9.9.0 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.8.1 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.8.0 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.7.0 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.6.1 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.6.0 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.5.1 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.5.0 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.4.0 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.3.0 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.0.5 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.0.4 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.2.0 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.0.3 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.1.0 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.0.2 app/handlers/openstax/accounts/dev/accounts_search.rb
openstax_accounts-9.0.1 app/handlers/openstax/accounts/dev/accounts_search.rb