Sha256: 454592fee5cbd449ddb05797b65104315024ee21670725209788b3e3f44035c1

Contents?: true

Size: 301 Bytes

Versions: 9

Compression:

Stored size: 301 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'search/part/abstract'

module RademadeAdmin
  module Search
    module Part
      class Order < Abstract

        protected

        def part_object(field, value)
          value ||= :asc
          super(field, value.to_sym)
        end

      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rademade_admin-0.2.2 app/services/search/part/order.rb
rademade_admin-0.2.1 app/services/search/part/order.rb
rademade_admin-0.2.0 app/services/search/part/order.rb
rademade_admin-0.1.6 app/services/search/part/order.rb
rademade_admin-0.1.5 app/services/search/part/order.rb
rademade_admin-0.1.4 app/services/search/part/order.rb
rademade_admin-0.1.3 app/services/search/part/order.rb
rademade_admin-0.1.2 app/services/search/part/order.rb
rademade_admin-0.1.1 app/services/search/part/order.rb