yahoo_store_api 0.1.2 → 0.2.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
- SHA1:
3
- metadata.gz: d9e908e0799aac49b3bc5165e24f167f8f01742e
4
- data.tar.gz: '08bfd192bbc39794560aafdac3d8ffc9463ff05b'
2
+ SHA256:
3
+ metadata.gz: b4f9d63dbb6b0abef96a88ac45a98cac48a80bb3ab7851e6228e02a7be76b040
4
+ data.tar.gz: 2ff5255dc7a35d7782d4354f255adb2455dde492c82e0df3349be3a5f74caf27
5
5
  SHA512:
6
- metadata.gz: 5f1d2e26d94671091fcb770724aed351fc916efb38a10d75b2d0f3151a3dfd5afa07c66bb6b83bd22b29bc18279df741c57ae5870a39620e56068350b3ec7e5b
7
- data.tar.gz: 0e55ad4a4794ff54a3394e54c83bb3710a2575cc318f62a4a6ec67fd4b1bf3045b1734e81b492cd2ae8ba9f19286b1c02efe21e0bdf4e535af67285ef3d2e5ed
6
+ metadata.gz: b91652ab266410d9ee3ce83c2d1b508c641c63483a5533a78dbeed22511fb5eb73515203e2f28172ce2ef44d99d006256f216f6f917b18489b20ece60c92295b
7
+ data.tar.gz: 7bd4f44e9dd8ce86415329435fe9a990cf6a8c400e70ec14b632dc26856a4fdc0f5285e883a86a3199d2f6a8d225f466d6432f1f567ae98417c696fef18c186e
data/.env.sample ADDED
@@ -0,0 +1,4 @@
1
+ YOUR_SELLER_ID=YOUR_SELLER_ID
2
+ YOUR_APPLICATION_ID=YOUR_APPLICATION_ID
3
+ YOUR_APPLICATION_SECRET=YOUR_APPLICATION_SECRET
4
+ YOUR_REFRESH_TOKEN=foobar
data/.gitignore CHANGED
@@ -10,4 +10,4 @@
10
10
 
11
11
  .env
12
12
  .rbenv-gemsets
13
- sample.rb
13
+ sample.rb
data/.travis.yml CHANGED
@@ -1,12 +1,13 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.2.7
5
- - 2.3.4
4
+ - 2.7.2
5
+ - 2.6.6
6
+ - 2.5.8
6
7
  - ruby-head
7
8
 
8
9
  matrix:
9
10
  allow_failures:
10
11
  - rvm: ruby-head
11
12
 
12
- before_install: gem install bundler -v 1.14.6
13
+ before_install: gem install bundler -v 2.2.11
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in yahoo_store_api.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # YahooStoreApi
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/yahoo_store_api.svg)](https://badge.fury.io/rb/yahoo_store_api)
3
4
  [![Build Status](https://travis-ci.org/t4traw/yahoo_store_api.svg?branch=master)](https://travis-ci.org/t4traw/yahoo_store_api)
4
5
  [![Code Climate](https://codeclimate.com/github/t4traw/yahoo_store_api/badges/gpa.svg)](https://codeclimate.com/github/t4traw/yahoo_store_api)
5
6
 
@@ -12,7 +13,10 @@ Yahoo!ショッピング プロフェッショナル出店ストア向けAPIを
12
13
  * 商品に関連するAPI
13
14
  * 商品参照API(`get_item`)
14
15
  * 商品登録API(`set_item`)
16
+ * 商品アップロードAPI(`upload_item_file`)
15
17
  * 商品削除API(`delete_item`)
18
+ * 画像に関連するAPI
19
+ * 商品画像一括アップロードAPI(`upload_item_image_pack`)
16
20
  * 在庫に関連するAPI
17
21
  * 在庫参照API(`get_stock`)
18
22
  * 在庫更新API(`set_stock`)
@@ -43,11 +47,14 @@ stateやnonceなどは[Authorizationエンドポイント](https://developer.yah
43
47
 
44
48
  ストアアカウント、上で登録したアプリケーションid、シークレット、取得した認証コードでインスタンスを生成します。
45
49
 
50
+ redirect_uriにはアプリケーション登録時に設定したフルURL(もしくはカスタムURIスキーム)を指定してください。登録済みの戻り先URLが1つしかない場合は省略可能です。戻り先URLがない場合はoobを指定してください。
51
+
46
52
  ```ruby
47
53
  client = YahooStoreApi::Client.new(
48
54
  seller_id: YOUR_STORE_ID, # ストアアカウントid
49
55
  application_id: YOUR_APPLICATION_ID, # アプリケーションid
50
56
  application_secret: YOUR_SECRET, # シークレット
57
+ redirect_uri: 'oob', # 省略可能
51
58
  authorization_code: AUTHORIZATION_CODE # 認証コード
52
59
  )
53
60
  ```
@@ -84,9 +91,9 @@ item.price
84
91
  item.all
85
92
  ```
86
93
 
87
- ### 商品情報の登録/更新
94
+ ### 商品情報の登録
88
95
 
89
- 商品情報を登録・更新できます。
96
+ 項目については[Yahoo:商品登録API](https://developer.yahoo.co.jp/webapi/shopping/editItem.html)を参照してください。
90
97
 
91
98
  ```ruby
92
99
  item = client.edit_item({
@@ -100,6 +107,29 @@ item = client.edit_item({
100
107
  item.all
101
108
  ```
102
109
 
110
+ ### 商品情報の一括登録
111
+
112
+ csvファイルをアップロードする事で商品情報の一括登録ができます。
113
+
114
+ ```ruby
115
+ item = client.upload_item_file("your/upload/file.csv")
116
+ ```
117
+
118
+ ### 商品情報の更新
119
+
120
+ :bangbang: APIの仕様で、更新したいカラムのみ送信して更新が **できません** :bangbang:
121
+
122
+ 商品を登録・更新する場合、**省略した項目はデフォルト値で上書きされるので注意してください**。
123
+
124
+ なので、一度情報を取得し、必要な箇所を書き換えて送信する必要があります。
125
+
126
+ ```ruby
127
+ data = client.get_item(code).all
128
+ data["name"] = 'edit item'
129
+ data["caption"] = 'edit caption'
130
+ client.edit_item(data)
131
+ ```
132
+
103
133
  ### 在庫情報の参照
104
134
 
105
135
  ストアに登録されている商品の在庫情報を取得できます。
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require "rake/testtask"
4
4
  Rake::TestTask.new(:test) do |t|
5
5
  t.libs << "test"
6
6
  t.libs << "lib"
7
- t.test_files = FileList['test/**/*_test.rb']
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
8
  end
9
9
 
10
10
  task :default => :test
@@ -1,21 +1,28 @@
1
1
  module YahooStoreApi
2
2
  module Helper
3
-
4
3
  ENDPOINT = "https://circus.shopping.yahooapis.jp/ShoppingWebService/V1/".freeze
5
- def connection(method)
6
- Faraday.new(url: ENDPOINT + method) do |c|
7
- c.adapter Faraday.default_adapter
8
- c.headers['Authorization'] = "Bearer " + @access_token
4
+
5
+ def connection(method, with_seller_id: false)
6
+ url = ENDPOINT + method
7
+ if with_seller_id
8
+ url += "?seller_id=#{@seller_id}" if with_seller_id
9
+ end
10
+
11
+ Faraday.new(url: url) do |c|
12
+ c.request :multipart
13
+ c.request :url_encoded
14
+ c.adapter :net_http
15
+ c.headers["Authorization"] = "Bearer " + @access_token
9
16
  end
10
17
  end
11
18
 
12
19
  def handler(response)
13
20
  rexml = REXML::Document.new(response.body)
14
- if rexml.elements['ResultSet/Result']
15
- response_parser(rexml, xpoint: 'ResultSet/Result')
16
- elsif rexml.elements['ResultSet/Status']
17
- response_parser(rexml, xpoint: 'ResultSet')
18
- elsif rexml.elements['Error/Message']
21
+ if rexml.elements["ResultSet/Result"]
22
+ response_parser(rexml, xpoint: "ResultSet/Result")
23
+ elsif rexml.elements["ResultSet/Status"]
24
+ response_parser(rexml, xpoint: "ResultSet")
25
+ elsif rexml.elements["Error/Message"]
19
26
  error_parser(rexml)
20
27
  else
21
28
  puts rexml
@@ -28,7 +35,7 @@ module YahooStoreApi
28
35
  result.children.each do |el|
29
36
  next if el.to_s.strip.blank?
30
37
  if el.has_elements?
31
- el_ary = el.children.reject{|v| v.to_s.blank?}.map{|v| v.text.try!(:force_encoding, 'utf-8')}.reject{|v| v.to_s.blank?}
38
+ el_ary = el.children.reject { |v| v.to_s.blank? }.map { |v| v.text.try!(:force_encoding, "utf-8") }.reject { |v| v.to_s.blank? }
32
39
  attributes[el.name.underscore] = el_ary
33
40
  begin
34
41
  self.define_singleton_method(el.name.underscore) {
@@ -41,14 +48,14 @@ module YahooStoreApi
41
48
  attributes[el.name.underscore] = el.text
42
49
  begin
43
50
  self.define_singleton_method(el.name.underscore) {
44
- el.text.try!(:force_encoding, 'utf-8')
51
+ el.text.try!(:force_encoding, "utf-8")
45
52
  }
46
53
  rescue => e
47
54
  puts e
48
55
  end
49
56
  end # if el.has_elements?
50
57
  end # result.children.each
51
- self.define_singleton_method('all') {
58
+ self.define_singleton_method("all") {
52
59
  attributes
53
60
  }
54
61
  end # xml.elements.each(xpoint)
@@ -57,15 +64,14 @@ module YahooStoreApi
57
64
 
58
65
  def error_parser(rexml)
59
66
  result = {
60
- status: 'NG',
61
- message: rexml.elements['Error/Message'].text
67
+ status: "NG",
68
+ message: rexml.elements["Error/Message"].text,
62
69
  }
63
70
  result.each do |k, v|
64
71
  self.define_singleton_method(k) { v }
65
72
  end
66
- self.define_singleton_method('all') { result }
73
+ self.define_singleton_method("all") { result }
67
74
  self
68
75
  end
69
-
70
76
  end
71
77
  end
@@ -0,0 +1,15 @@
1
+ module YahooStoreApi
2
+ module Image
3
+ include YahooStoreApi::Helper
4
+
5
+ def upload_item_image_pack(zip_path)
6
+ request = {
7
+ file: Faraday::UploadIO.new(zip_path, "application/zip"),
8
+ }
9
+
10
+ handler connection("uploadItemImagePack", with_seller_id: true).post { |r|
11
+ r.body = request
12
+ }
13
+ end
14
+ end
15
+ end
@@ -0,0 +1 @@
1
+ require "yahoo_store_api/image/upload_item_image_pack"
@@ -4,11 +4,10 @@ module YahooStoreApi
4
4
 
5
5
  def delete_item(str)
6
6
  request = "seller_id=#{@seller_id}&item_code=#{URI.encode_www_form_component(str)}"
7
-
8
- handler connection('deleteItem').post { |r|
7
+
8
+ handler connection("deleteItem").post { |r|
9
9
  r.body = request
10
10
  }
11
11
  end
12
-
13
12
  end
14
13
  end
@@ -4,11 +4,10 @@ module YahooStoreApi
4
4
 
5
5
  def edit_item(hash)
6
6
  request = "seller_id=#{@seller_id}&#{URI.encode_www_form(hash)}"
7
-
8
- handler connection('editItem').post { |r|
7
+
8
+ handler connection("editItem").post { |r|
9
9
  r.body = request
10
10
  }
11
11
  end
12
-
13
12
  end
14
13
  end
@@ -3,11 +3,10 @@ module YahooStoreApi
3
3
  include YahooStoreApi::Helper
4
4
 
5
5
  def get_item(item_code)
6
- handler connection('getItem').get { |r|
7
- r.params['seller_id'] = @seller_id
8
- r.params['item_code'] = item_code
6
+ handler connection("getItem").get { |r|
7
+ r.params["seller_id"] = @seller_id
8
+ r.params["item_code"] = item_code
9
9
  }
10
10
  end
11
-
12
11
  end
13
12
  end
@@ -0,0 +1,16 @@
1
+ module YahooStoreApi
2
+ module Item
3
+ include YahooStoreApi::Helper
4
+
5
+ def upload_item_file(file_path)
6
+ request = {
7
+ type: 1,
8
+ file: Faraday::UploadIO.new(file_path, "text/csv"),
9
+ }
10
+
11
+ handler connection("uploadItemFile", with_seller_id: true).post { |r|
12
+ r.body = request
13
+ }
14
+ end
15
+ end
16
+ end
@@ -1,3 +1,4 @@
1
- require 'yahoo_store_api/item/get_item'
2
- require 'yahoo_store_api/item/edit_item'
3
- require 'yahoo_store_api/item/delete_item'
1
+ require "yahoo_store_api/item/get_item"
2
+ require "yahoo_store_api/item/edit_item"
3
+ require "yahoo_store_api/item/upload_item_file"
4
+ require "yahoo_store_api/item/delete_item"
@@ -8,10 +8,9 @@ module YahooStoreApi
8
8
  request << "mode=#{mode}"
9
9
  request << "seller_id=#{reserve_time}" if reserve_time
10
10
 
11
- handler connection('reservePublish').post { |r|
12
- r.body = request.join('&')
11
+ handler connection("reservePublish").post { |r|
12
+ r.body = request.join("&")
13
13
  }
14
14
  end
15
-
16
15
  end
17
16
  end
@@ -1 +1 @@
1
- require 'yahoo_store_api/publish/reserve_publish'
1
+ require "yahoo_store_api/publish/reserve_publish"
@@ -3,10 +3,9 @@ module YahooStoreApi
3
3
  include YahooStoreApi::Helper
4
4
 
5
5
  def get_stock(item_code)
6
- handler connection('getStock').post { |r|
6
+ handler connection("getStock").post { |r|
7
7
  r.body = "seller_id=#{@seller_id}&item_code=#{item_code}"
8
8
  }
9
9
  end
10
-
11
10
  end
12
11
  end
@@ -5,10 +5,9 @@ module YahooStoreApi
5
5
  def set_stock(hash)
6
6
  request = "seller_id=#{@seller_id}&#{URI.encode_www_form(hash)}"
7
7
 
8
- handler connection('setStock').post { |r|
8
+ handler connection("setStock").post { |r|
9
9
  r.body = request
10
10
  }
11
11
  end
12
-
13
12
  end
14
13
  end
@@ -1,2 +1,2 @@
1
- require 'yahoo_store_api/stock/get_stock'
2
- require 'yahoo_store_api/stock/set_stock'
1
+ require "yahoo_store_api/stock/get_stock"
2
+ require "yahoo_store_api/stock/set_stock"
@@ -1,3 +1,3 @@
1
1
  module YahooStoreApi
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -1,45 +1,50 @@
1
1
  require "yahoo_store_api/version"
2
- require 'yahoo_store_api/helper.rb'
3
- require 'yahoo_store_api/item.rb'
4
- require 'yahoo_store_api/stock.rb'
5
- require 'yahoo_store_api/publish.rb'
6
-
7
- require 'rexml/document'
8
- require 'yaml'
9
- require 'uri'
10
- require 'faraday'
11
- require 'active_support'
12
- require 'active_support/core_ext'
13
- require 'active_model'
2
+ require "yahoo_store_api/helper.rb"
3
+ require "yahoo_store_api/item.rb"
4
+ require "yahoo_store_api/image.rb"
5
+ require "yahoo_store_api/stock.rb"
6
+ require "yahoo_store_api/publish.rb"
7
+
8
+ require "rexml/document"
9
+ require "yaml"
10
+ require "uri"
11
+ require "cgi"
12
+ require "faraday"
13
+ require "active_support"
14
+ require "active_support/core_ext"
15
+ require "active_model"
14
16
 
15
17
  module YahooStoreApi
16
18
  class Client
17
19
  attr_reader :refresh_token
18
20
  include YahooStoreApi::Item
21
+ include YahooStoreApi::Image
19
22
  include YahooStoreApi::Stock
20
23
  include YahooStoreApi::Publish
21
24
 
22
- def initialize(seller_id:, application_id:, application_secret:, authorization_code: nil, refresh_token: nil)
25
+ def initialize(seller_id:, application_id:, application_secret:, authorization_code: nil, redirect_uri: nil, refresh_token: nil)
23
26
  @seller_id = seller_id
24
27
  @application_id = application_id
25
28
  @application_secret = application_secret
29
+ @redirect_uri = redirect_uri ? "&redirect_uri=" + CGI.escape(redirect_uri) : nil
26
30
  @access_token = reflesh_access_token(refresh_token) || get_access_token(authorization_code)
27
31
  end
28
32
 
29
33
  private
30
34
 
31
- ACCESS_TOKEN_ENDPOINT = 'https://auth.login.yahoo.co.jp/yconnect/v1/token'.freeze
35
+ ACCESS_TOKEN_ENDPOINT = "https://auth.login.yahoo.co.jp/yconnect/v1/token".freeze
36
+
32
37
  def access_token_connection
33
38
  Faraday.new(url: ACCESS_TOKEN_ENDPOINT) do |c|
34
39
  c.adapter Faraday.default_adapter
35
40
  c.authorization :Basic, Base64.strict_encode64("#{@application_id}:#{@application_secret}")
36
- c.headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8'
41
+ c.headers["Content-Type"] = "application/x-www-form-urlencoded;charset=UTF-8"
37
42
  end
38
43
  end
39
44
 
40
45
  def get_access_token(authorization_code)
41
- param = "grant_type=authorization_code&code=#{authorization_code}&redirect_uri=oob"
42
- obj = access_token_connection.post{|r| r.body = param}
46
+ param = "grant_type=authorization_code&code=#{authorization_code}#{@redirect_uri}"
47
+ obj = access_token_connection.post { |r| r.body = param }
43
48
  result = hash_converter(obj)
44
49
  @refresh_token = result[:refresh_token]
45
50
  result[:access_token]
@@ -47,7 +52,7 @@ module YahooStoreApi
47
52
 
48
53
  def reflesh_access_token(refresh_token)
49
54
  param = "grant_type=refresh_token&refresh_token=#{refresh_token}"
50
- obj = access_token_connection.post{|r| r.body = param}
55
+ obj = access_token_connection.post { |r| r.body = param }
51
56
  result = hash_converter(obj)
52
57
  @refresh_token = refresh_token
53
58
  result[:access_token]
@@ -55,8 +60,7 @@ module YahooStoreApi
55
60
 
56
61
  def hash_converter(str)
57
62
  ary = str.body.delete('"{}').split(/[:,]/)
58
- ary.each_slice(2).map{|k, v| [k.to_sym, v]}.to_h
63
+ ary.each_slice(2).map { |k, v| [k.to_sym, v] }.to_h
59
64
  end
60
-
61
65
  end
62
66
  end
@@ -1,33 +1,33 @@
1
1
  # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
2
+ lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'yahoo_store_api/version'
4
+ require "yahoo_store_api/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "yahoo_store_api"
8
- spec.version = YahooStoreApi::VERSION
9
- spec.authors = ["t4traw"]
10
- spec.email = ["t4traw@gmail.com"]
7
+ spec.name = "yahoo_store_api"
8
+ spec.version = YahooStoreApi::VERSION
9
+ spec.authors = ["t4traw"]
10
+ spec.email = ["t4traw@gmail.com"]
11
11
 
12
- spec.summary = %q{Yahoo!ショッピング プロフェッショナル出店ストア向けAPIを簡単に叩けるrubyラッパー}
13
- spec.description = %q{Yahoo!ショッピング プロフェッショナル出店ストア向けAPIを簡単に叩けるrubyラッパー}
14
- spec.homepage = "https://github.com/t4traw/yahoo_store_api"
12
+ spec.summary = %q{Yahoo!ショッピング プロフェッショナル出店ストア向けAPIを簡単に叩けるrubyラッパー}
13
+ spec.description = %q{Yahoo!ショッピング プロフェッショナル出店ストア向けAPIを簡単に叩けるrubyラッパー}
14
+ spec.homepage = "https://github.com/t4traw/yahoo_store_api"
15
15
 
16
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
17
  f.match(%r{^(test|spec|features)/})
18
18
  end
19
19
 
20
- spec.bindir = "exe"
21
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_dependency "faraday", '>= 0.12.1'
25
- spec.add_dependency "activesupport", '>= 4.2.8'
26
- spec.add_dependency "activemodel", '>= 4.2.8'
24
+ spec.add_dependency "faraday", ">= 0.12.1"
25
+ spec.add_dependency "activesupport", ">= 4.2.8"
26
+ spec.add_dependency "activemodel", ">= 4.2.8"
27
27
  spec.add_dependency "builder"
28
28
 
29
- spec.add_development_dependency "bundler", "~> 1.14"
30
- spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "bundler"
30
+ spec.add_development_dependency "rake", ">= 12.3.3"
31
31
  spec.add_development_dependency "pry", "~> 0.10.4"
32
32
  spec.add_development_dependency "minitest", "~> 5.0"
33
33
  spec.add_development_dependency "minitest-reporters"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yahoo_store_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - t4traw
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-23 00:00:00.000000000 Z
11
+ date: 2021-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -70,30 +70,30 @@ dependencies:
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '1.14'
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '1.14'
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '10.0'
89
+ version: 12.3.3
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '10.0'
96
+ version: 12.3.3
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: pry
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -185,6 +185,7 @@ executables: []
185
185
  extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
+ - ".env.sample"
188
189
  - ".gitignore"
189
190
  - ".travis.yml"
190
191
  - Gemfile
@@ -193,10 +194,13 @@ files:
193
194
  - Rakefile
194
195
  - lib/yahoo_store_api.rb
195
196
  - lib/yahoo_store_api/helper.rb
197
+ - lib/yahoo_store_api/image.rb
198
+ - lib/yahoo_store_api/image/upload_item_image_pack.rb
196
199
  - lib/yahoo_store_api/item.rb
197
200
  - lib/yahoo_store_api/item/delete_item.rb
198
201
  - lib/yahoo_store_api/item/edit_item.rb
199
202
  - lib/yahoo_store_api/item/get_item.rb
203
+ - lib/yahoo_store_api/item/upload_item_file.rb
200
204
  - lib/yahoo_store_api/publish.rb
201
205
  - lib/yahoo_store_api/publish/reserve_publish.rb
202
206
  - lib/yahoo_store_api/stock.rb
@@ -222,8 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
226
  - !ruby/object:Gem::Version
223
227
  version: '0'
224
228
  requirements: []
225
- rubyforge_project:
226
- rubygems_version: 2.5.2
229
+ rubygems_version: 3.1.6
227
230
  signing_key:
228
231
  specification_version: 4
229
232
  summary: Yahoo!ショッピング プロフェッショナル出店ストア向けAPIを簡単に叩けるrubyラッパー