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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7bc421856e9768665f44c9684746309ab7b516bf
4
- data.tar.gz: 16bc5288b7d512741cc0020ab7114f2e37fd1f43
3
+ metadata.gz: e166418c4d289ab8ad9ed1845a4cf091bc8ab8cd
4
+ data.tar.gz: c2eda935303a79796363f9bec9e22e767c794575
5
5
  SHA512:
6
- metadata.gz: bcb16ad734fc0041f595d2eb1972f7f4cd4c5bb77536786c667f864ab9e85736f0eef3e59fb31dc35ade1f3db54b3375de203dea854827bc99360c8645787f48
7
- data.tar.gz: 1428d304e05437a8e95afb35fcf4ffa74666afe57f56ed15238131f84ce0651ad3a73f3fdb1c721cdea4d4ac4a0538a43ee822a6eae6027286ae12727c0ba1f2
6
+ metadata.gz: 3940333e003e6c2bdcd638a942bd8c4cedf0c625357b0fc6c01eba334c65bb87a212f46c559ca64a2724bafbffdf23de9c2ab29fd4331f52c59d45614fbca54c
7
+ data.tar.gz: bf5b03f8f43b64f74ab29c8079c2190dd22895ba195760d3b445eca2c0ec3ab8407ec7cf48078f018c51e7136db9c0a52c602d20f0b98434989508fc5ec6f341
@@ -1,3 +1,3 @@
1
1
  module RmsItemApi
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-08 00:00:00.000000000 Z
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: