Sha256: 0e06db5fc5b0a36fe652d6338417e3c82c7bf084d9f2d1147946d98a2ec0dc8c

Contents?: true

Size: 523 Bytes

Versions: 1

Compression:

Stored size: 523 Bytes

Contents

module Payable
  class Work < Resource
    attribute :worker_id, Types::Strict::Int
    attribute :work_type_id, Types::Strict::Int
    attribute :quantity, Types::Form::Decimal
    attribute :quantity_measure, Types::QuantityMeasure
    attribute :start, Types::Form::DateTime
    attribute :end, Types::Form::DateTime
    attribute :note, Types::String
    attribute :payment_id, Types::Strict::Int
    attribute :payment_status, Types::PaymentStatus

    def self.collection; 'work'; end

    extend Writeable
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
payable-api-0.1.1 lib/payable/work.rb