solidgate-ruby-sdk 0.1.11 → 0.1.12

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: ba80035d65a601fc4acd8eef2809b188d165589931403b8fa2b7b05d8766b393
4
- data.tar.gz: dcb4ec3eac2443669916e75eefcc040a65cfe00e271aab353473305b07c23b57
3
+ metadata.gz: 4128217c38f32fdd711b9730aee7aabb85e43f24634bac4b8233ff4f1dfd900f
4
+ data.tar.gz: 6d3917d1111b2043f1c9aa008364c2d4c09d75123ca59bbed6fb959c28add824
5
5
  SHA512:
6
- metadata.gz: 46322d80c7d7694a1e662be9545740af7fb16f2bb6b6d4189476a17ba01d7f65cba006ad22e3c7986c755ed8d5333bc16d7557bff30ce26560984cacf5f16d63
7
- data.tar.gz: bfa35892c6ec90740614e4d773abe38e22d800b52196ff5b287135d8ca0214f95ba66d673eb613c76147a7fc2371d3db3c08494030bb35842433529106f07cc7
6
+ metadata.gz: 900f118702889d575cb369cac9f57ed75ea43c21ef4706971d1588354d62e24014170768cb124550a9ab633d5e67c5d5bc9c0101ad40c9e67bab78e8d4d2b58f
7
+ data.tar.gz: b696bb31ff5eb9676dd97a00c289d8fef9d6ae0ac4def587b8fbbbe33e635e454b34b03149fd755d1c3b6b475057ab3c16fa31dc06f99c1989fcf6a6738db7a4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- solidgate-ruby-sdk (0.1.11)
4
+ solidgate-ruby-sdk (0.1.12)
5
5
  faraday
6
6
  faraday-multipart
7
7
 
@@ -289,6 +289,22 @@ module Solidgate
289
289
  encrypt_payload(params)
290
290
  end
291
291
 
292
+ # Updates an existing price for a product.
293
+ # Use this to modify the amount, currency, or billing interval of a price.
294
+ #
295
+ # @param product_id [String] the product identifier that owns the price
296
+ # @param price_id [String] the price identifier to update
297
+ # @param params [Hash] price update parameters:
298
+ # @return [Hash] updated price details including price_id
299
+ # @raise [InvalidRequestError] if product_id, price_id, or params are invalid
300
+ #
301
+ # @example Update a price amount
302
+ # client.update_product_price('prod_123', 'price_456', amount: 2000)
303
+ #
304
+ def update_product_price(product_id, price_id, params)
305
+ patch("/api/v1/products/#{product_id}/prices/#{price_id}", body: params)
306
+ end
307
+
292
308
  # Generates an HMAC-SHA512 signature for API request authentication.
293
309
  # The signature is required for all API requests and webhook validation.
294
310
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Solidgate
4
- VERSION = "0.1.11"
4
+ VERSION = "0.1.12"
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.11
4
+ version: 0.1.12
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-02-06 00:00:00.000000000 Z
11
+ date: 2026-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday