paypal-sdk-subscriptions 0.2.0 → 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
2
  SHA256:
3
- metadata.gz: 5cb5267fe9055aad1c85e1648d3c9f7fc1a60dcc4a03cccc8b99bfa77c8f7da0
4
- data.tar.gz: cc4d759a7d982f53fb91bb0ff2b4d5a6c0666aaf5c09fc19c244bd4ed6db4500
3
+ metadata.gz: bafda9c71c7e0e5fd232acf3c413130893a5640443718d006020b95bb73ca75c
4
+ data.tar.gz: a21bfbf6c111224fe9dcefda00fd9829d2e5d145c1100619207573c49293d444
5
5
  SHA512:
6
- metadata.gz: 1c1cd09e2d6a08dff39512650058850e473b5494b40fc66d1729ef1da7514f413b9412367a359f31a48cb2d386bd7fdd48e64654e567e6fab4705190e18563f1
7
- data.tar.gz: 5a7f849e5cb993e363d3bca56e11912754eda55dccc0eb398d2a4e5c599a93d5a424180a72d2db0eac83228f24c72b7053e3e45ba8d5723989afb3c3f5444c1e
6
+ metadata.gz: cf1df3f4a19c8966feff7413b78981c916a2093ab9bb36f63efe423a917972252556ffa356d4be58887efc7d9973c78ff5aad34b78d2e40c7260e6b5e4085571
7
+ data.tar.gz: 5e398132025660b79d10dfa6db1f556a1124f54d04afc3e2ac757c7c76064a5c75a475ef53fec627a89bf9c2fc41682539b032be40667c7b4fa87cab8d3b72c1
@@ -115,6 +115,7 @@ module PayPal::SDK::Subscriptions
115
115
  # option :start_time [Time|String] (required)
116
116
  # option :end_time [Time|String] (default: now)
117
117
  def transactions(options = {})
118
+ options[:start_time] ||= create_time
118
119
  options[:end_time] ||= Time.now
119
120
 
120
121
  start_time = DateTime.parse(options[:start_time].to_s).strftime('%Y-%m-%dT%H:%M:%S.%L%:z')
@@ -1,7 +1,7 @@
1
1
  module PayPal
2
2
  module SDK
3
3
  module Subscriptions
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal-sdk-subscriptions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piers Chambers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paypal-sdk-core