jamm 1.1.1 → 1.1.2

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: 6078aaa5f3504c091900869e1d978883fc7b125e6ce2eb101330f8a124d780f2
4
- data.tar.gz: 8e2b2876e53ca8a7da4d1c9e0f52d02e5e2607cc74654b3cee7fa4eb39662b72
3
+ metadata.gz: 1ada445b38feeab360aa3ad5a27c608c63a51ae8cbb2a33fdb0a5c9458212c36
4
+ data.tar.gz: 324a55d045fd433b7821b2c89d9fdc388976ad96c325db90c97632015ab00bcc
5
5
  SHA512:
6
- metadata.gz: 20bd0ebbe9f53d0a57a6319921a6fcdfb7de101e007d0325d6abcec25be72ad0617bec80e837937447231dad4d97ee3c90a7ea0c35483dce52f1d6b079a7a627
7
- data.tar.gz: aa38acca7378be10d5b71dedd66b03b1f3a675a98a654e0fbcade89ca55c5e91fd54aacd81670d34dc7eb86a2545a805e01664270a94b59031b9c3070f8b6fc1
6
+ metadata.gz: 8784a2133b145e70664b04246f31b89ff5e48569eaa28d6f7161e747a50693bc736eb207b981eee60240d569a841d37ed7ddb6842aed6745d378bc53b6028211
7
+ data.tar.gz: a25c2bd2fc8f61abaa1b24932c8b0fb77863fd2fafc27c87f536c5e18c3b17a797ffad2ebe2bb53bf6b4bc2c17b81eda293affdf7a09c085507d3b6c2eb62b72
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jamm (1.1.1)
4
+ jamm (1.1.2)
5
5
  rest-client (~> 2.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -86,6 +86,7 @@ GEM
86
86
  PLATFORMS
87
87
  aarch64-linux
88
88
  arm64-darwin-22
89
+ arm64-darwin-23
89
90
  x86_64-linux
90
91
 
91
92
  DEPENDENCIES
data/lib/jamm/customer.rb CHANGED
@@ -8,6 +8,14 @@ require 'jamm/api/models/v1_create_customer_request'
8
8
 
9
9
  module Jamm
10
10
  module Customer
11
+ # Embed enum statuses into Customer module for easier access
12
+ # and not to leak OpenAPI namespace into merchant codebase.
13
+ #
14
+ # - Before: Jamm::OpenAPI::KycStatus
15
+ # - After: Jamm::Customer::KycStatus
16
+ KycStatus = Jamm::OpenAPI::KycStatus
17
+ PaymentAuthorizationStatus = Jamm::OpenAPI::PaymentAuthorizationStatus
18
+
11
19
  def self.create(buyer:)
12
20
  r = Jamm::OpenAPI::CustomerApi.new(Jamm::Client.handler).create(
13
21
  buyer: buyer
data/lib/jamm/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jamm
4
- VERSION = '1.1.1'
4
+ VERSION = '1.1.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jamm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-02 00:00:00.000000000 Z
11
+ date: 2025-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client