wirepayment 1.0.0 → 1.0.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +3 -3
- data/lib/wire/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e52dccf7be04fe2f44355a82eef7e888b087c23d6125b7232b035363b3444152
|
|
4
|
+
data.tar.gz: 323db8fbd8c318eff478ad955fe355b1992f4c6dc9935928e1a5e125b1267a4a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2774d5896fc6fa5e07bd09523555b6490be6befb5857ed773d28af72eefdfe500ddc107a4e9e3a1246dd6916af4dd7906d79fd3b29dd4c21afa62524e79aaae5
|
|
7
|
+
data.tar.gz: 530122aedf7b55f9e0701e3b457097e052b1309629535072c863065e5f79b88f1086a943357f044b8821820c50238c0a73a4be7671ec120816b0f3c3463e34bb
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.0.1] - 2026-10-12
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- README: amounts are whole tögrög (MNT integer, no fractional part — `50000` is 50,000 ₮, not 500.00). Examples no longer use the `sandbox` operator or test mode, which the production API does not offer; omitting `allowed_operators` routes to the operators enabled on your project.
|
|
12
|
+
|
|
8
13
|
## [1.0.0] - 2026-06-07
|
|
9
14
|
|
|
10
15
|
### Added
|
data/README.md
CHANGED
|
@@ -28,11 +28,11 @@ require "wirepayment"
|
|
|
28
28
|
```ruby
|
|
29
29
|
client = Wire::Client.new("sk_live_...")
|
|
30
30
|
|
|
31
|
-
# Amounts are
|
|
31
|
+
# Amounts are whole tögrög (MNT integer, no fractional part): 50000 = 50,000 ₮.
|
|
32
|
+
# Without allowed_operators, Wire routes to the operators enabled on your project.
|
|
32
33
|
pi = client.payment_intents.create(
|
|
33
34
|
amount: 50_000,
|
|
34
|
-
currency: "MNT"
|
|
35
|
-
allowed_operators: ["sandbox"] # the operator ids enabled on your account
|
|
35
|
+
currency: "MNT"
|
|
36
36
|
)
|
|
37
37
|
puts pi["id"], pi["status"]
|
|
38
38
|
|
data/lib/wire/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wirepayment
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Buildry
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: 'Server-side Ruby client for the Wire unified payment gateway: payment
|
|
14
14
|
intents, charges, events, and webhook endpoints across Mongolian payment operators,
|