jamm 1.0.6 → 1.0.8

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: 9323ff0740ea4f894b421b87f4d4816b1f52b9e0786b0504fe8be78efb9b6615
4
- data.tar.gz: 6043ad05ba6cee762283647d6aa1d8de597836deeff35b7127a2071686265a44
3
+ metadata.gz: 67a005360ecff410ceb64358b46d0891942242b32900a89d0a787719e5c227e3
4
+ data.tar.gz: 355eb570822c3c2999382a2ed21ce993dab9a0db127863c362fa2f511056018d
5
5
  SHA512:
6
- metadata.gz: b54d7577d8665708511681dc4e2d40f31916b47b0bee294b4f6601b0b54587fd807c63cfe1502e98af847eca345e2d138c426d05e1b52a2296e3028b0cbfa7dc
7
- data.tar.gz: c68e9838b84f7482b960480c92c2fd42c0b3a69b78936a00b85c8e5a8f8e495828332fb123ce216f0bd2523f1f0612fbe6d2690af6c98a5b61ebff1f6ab4bd7f
6
+ metadata.gz: 3afbed3c6e3bc5d09c5f32490eb7566f924bb009515a67de77669c6241dd09df686cf171e598605df6e731b720387a08a4354ce347dc68d43cd7b923c0fefe24
7
+ data.tar.gz: 457261620fcde3c9875274015eca3098c61367ec79759fbc621de99bb7c79fb4530a94f718fe6c5f6ed99f6f804a22c492062b7904a0a3890ad2be7402772412
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jamm (1.0.6)
4
+ jamm (1.0.8)
5
5
  rest-client (~> 2.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
data/lib/jamm/customer.rb CHANGED
@@ -10,7 +10,7 @@ module Jamm
10
10
  def self.get(customer:)
11
11
  Jamm::CustomerApi.new(Jamm::Client.handler).get customer
12
12
  rescue Jamm::ApiError => e
13
- return nil if e.http_code == 404
13
+ return nil if e.code == 404
14
14
 
15
15
  raise
16
16
  end
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.0.6'
4
+ VERSION = '1.0.8'
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.0.6
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-04 00:00:00.000000000 Z
11
+ date: 2024-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client