lib/payable/work.rb in payable-api-0.1.0 vs lib/payable/work.rb in payable-api-0.1.1
- old
+ new
@@ -1,9 +1,9 @@
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, 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