Sha256: 0ae5642b5cb223649da99150c722a347ae8dec5bd8e8761ad5abef697a0a98cc

Contents?: true

Size: 314 Bytes

Versions: 3

Compression:

Stored size: 314 Bytes

Contents

module Payable
  class Payment < Resource
    attribute :worker_id, Types::Strict::Int
    attribute :amount, Types::Coercible::Int
    attribute :status, Types::PaymentStatus
    attribute :notes, Types::String
    attribute :sent_at, Types::Form::DateTime
    attribute :paid_at, Types::Form::DateTime
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
payable-api-0.1.2 lib/payable/payment.rb
payable-api-0.1.1 lib/payable/payment.rb
payable-api-0.1.0 lib/payable/payment.rb