moy_sklad 1.0.0.rc8 → 1.0.0.rc9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20e2b240dc22e2c01b734bf1ab31f656ef757b99
4
- data.tar.gz: 505aef8607a15cd94e92d5bc429f37167aa6ca05
3
+ metadata.gz: 4f41fc5054cf3b6d22545d070c8e1c84677e1d38
4
+ data.tar.gz: 7d93cb3cf7a656e13d5ee2a9104daa8b7f6aa64c
5
5
  SHA512:
6
- metadata.gz: 366dddbd3833540b685fe0ff5925a66a7ed7e12b871c14a78a15832c79c997e609dab6f02b13512210a92b9ba455c87dee5985762ac85ca1dfce29778ad1c26d
7
- data.tar.gz: d163b221c693c9841a156d29267b9b8435ca17584c6026f8d8b0579f3a641c2380390b247bf30e9e7a6142de42c67a0a419af7db7bdd3a93ca26cccb8111a824
6
+ metadata.gz: 591a96f57322b584436b9d7bdba9d4276f98e942b57dccde51e674c6fe58a5910bd1e070569a60422a0b309af516d819da3d683939bfa9fa9718d218582ab14e
7
+ data.tar.gz: 910e041e04c8856de1658c625f2a2ee877e76b71b499232964968184c59ac26a1986e7b53cf2f39802fa08d5b6c4a8ac7a84376efec8c276978d56a3c09ff21f
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0"?>
2
+ <currency readMode="NONE" changeMode="NEIGHBOUR" updated="2013-11-23T15:44:07" updatedBy="string" name="string" enteredRate="1.051732E7" invertRate="true" rate="1.051732E7">
3
+ <!--Optional:-->
4
+ <accountUuid>string</accountUuid>
5
+ <!--Optional:-->
6
+ <accountId>string</accountId>
7
+ <!--Optional:-->
8
+ <uuid>string</uuid>
9
+ <!--Optional:-->
10
+ <groupUuid>string</groupUuid>
11
+ <!--Optional:-->
12
+ <deleted>2006-08-19T19:27:14+02:00</deleted>
13
+ <!--Optional:-->
14
+ <code>string</code>
15
+ <!--Optional:-->
16
+ <externalcode>string</externalcode>
17
+ <!--Optional:-->
18
+ <description>string</description>
19
+ <!--Optional:-->
20
+ <major s1="string" s24="string" s5="string" sex="5"/>
21
+ <!--Optional:-->
22
+ <minor s1="string" s24="string" s5="string" sex="5"/>
23
+ </currency>
@@ -0,0 +1,4 @@
1
+ module MoySklad::Model
2
+ class Currency < MoySklad::Client::Base
3
+ end
4
+ end
@@ -0,0 +1,12 @@
1
+ xml.currency(name: name, enteredRate: enteredRate, invertRate: invertRate, rate: rate) {
2
+ xml.accountUuid_ accountUuid
3
+ xml.accountId_ accountId
4
+ xml.uuid_ uuid
5
+ xml.groupUuid_ groupUuid
6
+ xml.deleted_ deleted
7
+ xml.code_ code
8
+ xml.externalcode_ externalcode
9
+ xml.description_ description
10
+ xml.major(s1: major.s1, s24: major.s24, s5: major.s5, sex: major.sex)
11
+ xml.minor(s1: minor.s1, s24: minor.s24, s5: minor.s5, sex: minor.sex)
12
+ }
@@ -14,3 +14,4 @@ require 'moy_sklad/model/cash_in'
14
14
  require 'moy_sklad/model/invoice_out'
15
15
  require 'moy_sklad/model/warehouse'
16
16
  require 'moy_sklad/model/stock_to'
17
+ require 'moy_sklad/model/currency'
@@ -1,3 +1,3 @@
1
1
  module MoySklad
2
- VERSION = '1.0.0.rc8'
2
+ VERSION = '1.0.0.rc9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moy_sklad
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc8
4
+ version: 1.0.0.rc9
5
5
  platform: ruby
6
6
  authors:
7
7
  - uno4ki
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-21 00:00:00.000000000 Z
12
+ date: 2015-07-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -123,6 +123,7 @@ files:
123
123
  - Rakefile
124
124
  - bin/gencountry
125
125
  - doc/xml/Company.xml
126
+ - doc/xml/Currency.xml
126
127
  - doc/xml/CustomEntity.xml
127
128
  - doc/xml/CustomerOrder.xml
128
129
  - doc/xml/Good.xml
@@ -145,6 +146,7 @@ files:
145
146
  - lib/moy_sklad/model/cash_in.rb
146
147
  - lib/moy_sklad/model/company.rb
147
148
  - lib/moy_sklad/model/country.rb
149
+ - lib/moy_sklad/model/currency.rb
148
150
  - lib/moy_sklad/model/custom_entity.rb
149
151
  - lib/moy_sklad/model/customer_order.rb
150
152
  - lib/moy_sklad/model/data/country_codes.yml
@@ -157,6 +159,7 @@ files:
157
159
  - lib/moy_sklad/model/supply.rb
158
160
  - lib/moy_sklad/model/templates/cash_in.builder
159
161
  - lib/moy_sklad/model/templates/company.builder
162
+ - lib/moy_sklad/model/templates/currency.builder
160
163
  - lib/moy_sklad/model/templates/custom_entity.builder
161
164
  - lib/moy_sklad/model/templates/customer_order.builder
162
165
  - lib/moy_sklad/model/templates/demand.builder
@@ -204,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
207
  version: 1.3.1
205
208
  requirements: []
206
209
  rubyforge_project:
207
- rubygems_version: 2.4.6
210
+ rubygems_version: 2.4.7
208
211
  signing_key:
209
212
  specification_version: 4
210
213
  summary: MoySklad API wrapper