Sha256: 273e5218ec95ca9c566aca0b20082d80bce894a78b07c8ed7ba1052a665f2988
Contents?: true
Size: 688 Bytes
Versions: 1
Compression:
Stored size: 688 Bytes
Contents
require_relative 'meta' module Moysklad::Entities class Currency < Base class Unit < Base attribute :gender, String attribute :s1, String attribute :s2, String attribute :s5, String end attribute :meta, Meta attribute :system, Boolean attribute :name, String attribute :fullName, String attribute :rate, Float attribute :multiplicity, Integer attribute :rateUpdateType, String attribute :code, String attribute :isoCode, String attribute :majorUnit, Unit attribute :minorUnit, Unit attribute :archived, Boolean attribute :default, Boolean def id meta.href.split('/').last end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moysklad-0.3.0 | lib/moysklad/entities/currency.rb |