Sha256: 84a2c63497365118e55c5acd2ea65eb6ae1be3639752bcfb98e335e49b5e7cd8

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 Bytes

Contents

module Payable
  class Work < Resource
    attribute :worker_id, Types::Strict::Int
    attribute :work_type_id, Types::Strict::Int
    attribute :quantity, Types::Coercible::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.0 lib/payable/work.rb