solidgate-ruby-sdk 0.1.4 → 0.1.5

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: 2668e08aa8fca85827f1f635808299d7ddac359e825281b8f2ec174e2b2e23af
4
- data.tar.gz: 6f8509673d474d701372771acd5539a2937befb498a3d50684d6e58bfb8cb762
3
+ metadata.gz: 8c6c98b7a85c9c0baa429bbabba28ab8b4ee5bc214315209090c79a43e1b1722
4
+ data.tar.gz: 1bc4f515ea8b93f8f2c1058b693ac0edcfa32c465c96836b142cd85891b62143
5
5
  SHA512:
6
- metadata.gz: 1345ffc2f8e047af3f0e3d92b4880b8de741d9b49ca301a50670708af4fb8378146077b3ffb305a182a50356da1f40f24c0a5572fb07ef4da2fa4e853afca801
7
- data.tar.gz: f4b17b16e99a46b2e6f7c9e59e4584855875af89e2bcddbcf367b16c336634aa136df14c7f33906fc495ae4d9f7a45bfd1c0fe98fdb49c7e0ef59cb216e35e4f
6
+ metadata.gz: da2edaaf75d59d9160200c75dbadc5914f811491412828a270e928c8385f796fab76cf233c17c41c1ed0c1f33f4df91a609047962298eb5113e4c111dd0e4f70
7
+ data.tar.gz: e3696bbccbfa90c308dd6ad07e444b4f917216ef7edeadeb144979c5b2c8c2adff7f838eff06e0d2e42ffa92233cea1ec319333cc1da3ecf37f8c126300b5e1f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- solidgate-ruby-sdk (0.1.4)
4
+ solidgate-ruby-sdk (0.1.5)
5
5
  faraday
6
6
  faraday-multipart
7
7
 
@@ -97,6 +97,10 @@ module Solidgate
97
97
  post("/api/v1/subscription/switch-subscription-product", params)
98
98
  end
99
99
 
100
+ def pause_subscription(subscription_id, params)
101
+ patch("/api/v1/subscriptions/{subscription_id}/pause-schedule", params)
102
+ end
103
+
100
104
  def create_product(params)
101
105
  post("/api/v1/products", params)
102
106
  end
@@ -167,6 +171,10 @@ module Solidgate
167
171
  request(:post, path, body)
168
172
  end
169
173
 
174
+ def patch(path, body = {})
175
+ request(:patch, path, body)
176
+ end
177
+
170
178
  def request(method, path, body = nil)
171
179
  body_json = body ? JSON.generate(body) : ''
172
180
  signature = generate_signature(body_json)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Solidgate
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidgate-ruby-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hector Carrillo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-01-14 00:00:00.000000000 Z
11
+ date: 2026-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday