Sha256: 2927d55ee1651f54f04c5dfce05794d7d7c2647c561a7effa9fcdcff20f8683e

Contents?: true

Size: 272 Bytes

Versions: 12

Compression:

Stored size: 272 Bytes

Contents

module Moysklad::Entities
  class Price < Base
    attribute :value, Float
    attribute :currency, Currency
    attribute :priceType, PriceType # Цена продажи/ Распродажа

    def self.from_money money
      raise 'not implemented'
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
moysklad-0.5 lib/moysklad/entities/price.rb
moysklad-0.4.10 lib/moysklad/entities/price.rb
moysklad-0.4.9 lib/moysklad/entities/price.rb
moysklad-0.4.8 lib/moysklad/entities/price.rb
moysklad-0.4.7 lib/moysklad/entities/price.rb
moysklad-0.4.6 lib/moysklad/entities/price.rb
moysklad-0.4.5 lib/moysklad/entities/price.rb
moysklad-0.4.4 lib/moysklad/entities/price.rb
moysklad-0.4.3 lib/moysklad/entities/price.rb
moysklad-0.4.2 lib/moysklad/entities/price.rb
moysklad-0.4.1 lib/moysklad/entities/price.rb
moysklad-0.4.0 lib/moysklad/entities/price.rb