rakuten_product_api 0.5.0 → 0.5.1

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
  SHA256:
3
- metadata.gz: 75b9cbdd2339703bb57bc2d4eed267caacb9f8102153265ac00252d63a2fc7ea
4
- data.tar.gz: f07396647cca6325ed7e87a72c1303f20f448b72380a263625527842fc4fdc94
3
+ metadata.gz: 5b57e335a7c9993cd59f1099d0646e870f18d2cb5645e3bc5be8f01ba49da917
4
+ data.tar.gz: aa0cb5c7123ae0c566897405846cea7c5db173bfbaf56b1ca694d5b7ae9c4095
5
5
  SHA512:
6
- metadata.gz: cdb8b95db0a4e09db5e89fb403aee90ab5a4038aec7ffed5da60ba967d9009f1bfaec25096317d5968d83bb2f8ba1aceb9bd0643d130827bff2bb06948552a99
7
- data.tar.gz: 75c2e83b5990933636a2f22dde9d246f9cee997095a28723d94bbe60fc8b1e62d97f2e8d10fea563256f3e44bfa10de792dd1987b52c4220cf7ca0f442e2c4f2
6
+ metadata.gz: df703638dddca412f96e5cffb7465985a5963acc008fc486061188174a29c5bb544d1a82fddba93d5923667e24be9d9c1d7dd9a4e7a8411c75d9363e6667d38c
7
+ data.tar.gz: a7a612761471e79d03b6f6f636ad8559f63a460940c5b5a95400edca3ceaa44d7c7fcf932da537577fa7400a5d510d4d52f34b3376994c7824a1df958efc34ec
data/README.md CHANGED
@@ -56,7 +56,7 @@ This library needs to query the API to retreive an `access_token` which has an `
56
56
  You can initialise the library with the `access_token` and `access_token_expires_at` values to avoid this lookup. If the `access_token_expires_at` is nil or in the past, the library will fetch the value so you can safely cache this value and use it without checking it's expiry.
57
57
 
58
58
  ```ruby
59
- client = RakutenProductApi::Client.new(access_token: 'abcd1234', access_expires_at: 1613362973)
59
+ client = RakutenProductApi::Client.new(access_token: 'abcd1234', access_token_expires_at: 1613362973)
60
60
 
61
61
  client.endpoint
62
62
  => "https://api.linksynergy.com"
@@ -7,7 +7,7 @@ require "nokogiri"
7
7
  module RakutenProductApi
8
8
  class Client
9
9
  extend Forwardable
10
- def_delegators :@authenticate, :access_token, :access_expires_at
10
+ def_delegators :@authenticate, :access_token, :access_token_expires_at
11
11
  REFRESH_TOKEN_LEEWAY = 60 * 10 # Ten minutes prior to expiry we should refresh token
12
12
 
13
13
  attr_accessor :sid, :username, :password, :authenticate
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RakutenProductApi
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rakuten_product_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Milne