Sha256: 001b33951d01a8eed621fe1d0b9aaa53d4aa4914345ad9be355609be39ceb4ad

Contents?: true

Size: 423 Bytes

Versions: 5

Compression:

Stored size: 423 Bytes

Contents

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

            optional(:limit).filled(:integer, gt?: 0, lteq?: 100)
            optional(:sort).filled(:string, included_in?: ALLOWED_SORTS)
            optional(:pageToken).maybe(:string)
          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/wallet_links/list.rb
tangany-0.0.4 lib/tangany/customers/contracts/wallet_links/list.rb
tangany-0.0.3 lib/tangany/customers/contracts/wallet_links/list.rb
tangany-0.0.2 lib/tangany/customers/contracts/wallet_links/list.rb
tangany-0.0.1 lib/tangany/customers/contracts/wallet_links/list.rb