bing-content-api 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90cc4a52471bac46f742f7979cd27be248699b38
4
- data.tar.gz: 8da5863be4e92380eeb9d7d83a11a823ca646ddb
3
+ metadata.gz: 0754b47634db79bb7fd49f92d02ca6b8cfbf00f7
4
+ data.tar.gz: 4dd57aba5f396f930445d6a6174a52c87f1a9f98
5
5
  SHA512:
6
- metadata.gz: 6f794dab2ea1b428e52d219a2a006c7a4f6a8f9cf66290516b882456859c7c5fb3e50bc7cde4c193cb929472411412f3df5a0b14c97de8f73f00262ea5844b18
7
- data.tar.gz: fec5a03eb77a3c0d65caf9fa5a57b3592db0125f87d8a12739c0de5c6f03c1d68a15b4021d2d68de03389e8267f881640f6e54be50a58fef3510ca6c9a3c8f6f
6
+ metadata.gz: ff497a118cf29febf836f3c35de779b26aecf7cdda9362e5f4018e71dfc047d560f1261efbd93cbf1a981776835830722d5cc391344358011d78ea90006bc56c
7
+ data.tar.gz: 798a16c4c76dbeae42c710ac6bce123869b179cad2a01dc0aa3f3478123ce8bd61f37540dbad9a0ce8a53aac67cdd58e9072506fcb317a2bf29f2175b28065bb
@@ -2,7 +2,7 @@ module Bing
2
2
  module Content
3
3
  module Api
4
4
  class Product
5
- attr_accessor :offer_id, :title, :description, :price, :currency, :product_link, :image_link, :target_country, :content_language, :availability, :channel, :product_type, :product_category, :condition
5
+ attr_accessor :offer_id, :title, :description, :price, :currency, :product_link, :image_link, :target_country, :content_language, :availability, :channel, :product_type, :product_category, :condition, :custom_label_0, :custom_label_1, :custom_label_2, :custom_label_3, :custom_label_4
6
6
 
7
7
  def bing_product_id
8
8
  "#{@channel}:#{@content_language}:#{@target_country}:#{@offer_id}"
@@ -23,6 +23,11 @@ module Bing
23
23
  "condition" => @condition,
24
24
  "productType" => @product_type,
25
25
  "googleProductCategory" => @product_category,
26
+ "customLabel0" => @custom_label_0,
27
+ "customLabel1" => @custom_label_1,
28
+ "customLabel2" => @custom_label_2,
29
+ "customLabel3" => @custom_label_3,
30
+ "customLabel4" => @custom_label_4,
26
31
  }
27
32
  end
28
33
  end
@@ -1,7 +1,7 @@
1
1
  module Bing
2
2
  module Content
3
3
  module Api
4
- VERSION = "0.2.2"
4
+ VERSION = "0.3.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bing-content-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul David
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-28 00:00:00.000000000 Z
11
+ date: 2017-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler