Sha256: be037cc28e6adcb29774dba630ede36b90300dba6731bed97a04c348ddc29791

Contents?: true

Size: 423 Bytes

Versions: 5

Compression:

Stored size: 423 Bytes

Contents

module Tangany
  module Customers
    module Contracts
      module Customers
        class List < ApplicationContract
          schema do
            config.validate_keys = true

            optional(:pageToken).maybe(:string)
            optional(:limit).filled(:integer, gteq?: 1, lteq?: 100)
            optional(:sort).filled(:string, included_in?: ALLOWED_SORTS)
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tangany-0.0.5 lib/tangany/customers/contracts/customers/list.rb
tangany-0.0.4 lib/tangany/customers/contracts/customers/list.rb
tangany-0.0.3 lib/tangany/customers/contracts/customers/list.rb
tangany-0.0.2 lib/tangany/customers/contracts/customers/list.rb
tangany-0.0.1 lib/tangany/customers/contracts/customers/list.rb