rms_item_api 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rms_item_api/version.rb +1 -1
- data/lib/rms_item_api.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e166418c4d289ab8ad9ed1845a4cf091bc8ab8cd
|
4
|
+
data.tar.gz: c2eda935303a79796363f9bec9e22e767c794575
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3940333e003e6c2bdcd638a942bd8c4cedf0c625357b0fc6c01eba334c65bb87a212f46c559ca64a2724bafbffdf23de9c2ab29fd4331f52c59d45614fbca54c
|
7
|
+
data.tar.gz: bf5b03f8f43b64f74ab29c8079c2190dd22895ba195760d3b445eca2c0ec3ab8407ec7cf48078f018c51e7136db9c0a52c602d20f0b98434989508fc5ec6f341
|
data/lib/rms_item_api/version.rb
CHANGED
data/lib/rms_item_api.rb
CHANGED
@@ -66,8 +66,8 @@ module RmsItemApi
|
|
66
66
|
result_code = parsed_xml.xpath("result/item#{method}Result/code").text
|
67
67
|
case method
|
68
68
|
when 'Get'
|
69
|
-
puts "#{method} succeeded"
|
70
69
|
if result_code == 'N000'
|
70
|
+
puts "#{method} succeeded"
|
71
71
|
xpoint = 'result/itemGetResult/item'
|
72
72
|
parsed_xml.xpath(xpoint).each do |xml|
|
73
73
|
xml.children.each_with_index do |x, index|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rms_item_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- t4traw
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -180,3 +180,4 @@ signing_key:
|
|
180
180
|
specification_version: 4
|
181
181
|
summary: RMSの商品APIを簡単に叩けるrubyラッパー
|
182
182
|
test_files: []
|
183
|
+
has_rdoc:
|