Sha256: 973ccaf0fc4f96d4e815e44c1ddb89a2b36c2575ed7b5d24dd9e3d3818e37e67

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

require 'dry/types'

module Payable
  module Types
    include Dry::Types.module

    QuantityMeasure = Strict::String.enum('time', 'money', 'unit', 'distance')
    InviteStatus    = Strict::String.enum('invited', 'not_invited', 'accepted')
    PaymentStatus   = Strict::String.enum('draft_ready', 'payment_pending', 'payment_failed', 'payment_refunded', 'paid')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
payable-api-0.1.0 lib/payable/types.rb