Sha256: 4e9b5a529fb001ac9dcd1bde716c79c32b217948ddc7a5449420266666242416

Contents?: true

Size: 468 Bytes

Versions: 22

Compression:

Stored size: 468 Bytes

Contents

# frozen_string_literal: true

module Mihari
  module Structs
    module Filters
      class Search < Dry::Struct
        # @!attribute [r] q
        #   @return [String]
        attribute :q, Types::String

        # @!attribute [r] page
        #   @return [Integer, nil]
        attribute? :page, Types::Int.default(1)

        # @!attribute [r] limit
        #   @return [Integer, nil]
        attribute? :limit, Types::Int.default(10)
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
mihari-8.0.0 lib/mihari/structs/filters.rb
mihari-7.6.4 lib/mihari/structs/filters.rb
mihari-7.6.3 lib/mihari/structs/filters.rb
mihari-7.6.2 lib/mihari/structs/filters.rb
mihari-7.6.1 lib/mihari/structs/filters.rb
mihari-7.6.0 lib/mihari/structs/filters.rb
mihari-7.5.0 lib/mihari/structs/filters.rb
mihari-7.4.0 lib/mihari/structs/filters.rb
mihari-7.3.2 lib/mihari/structs/filters.rb
mihari-7.3.1 lib/mihari/structs/filters.rb
mihari-7.3.0 lib/mihari/structs/filters.rb
mihari-7.2.0 lib/mihari/structs/filters.rb
mihari-7.1.3 lib/mihari/structs/filters.rb
mihari-7.1.2 lib/mihari/structs/filters.rb
mihari-7.1.1 lib/mihari/structs/filters.rb
mihari-7.1.0 lib/mihari/structs/filters.rb
mihari-7.0.5 lib/mihari/structs/filters.rb
mihari-7.0.4 lib/mihari/structs/filters.rb
mihari-7.0.3 lib/mihari/structs/filters.rb
mihari-7.0.2 lib/mihari/structs/filters.rb