Sha256: fae554a9d977c3314d93789705efc6b9c9b144bc1655e7b7328233a251b48210

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moysklad-0.3.0 lib/moysklad/entities/price.rb