queenbee 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/queenbee/version.rb +1 -1
- data/lib/queenbee.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16b223a7e964ee43ca53e6c0e1b274eb5c041ff1f5b6494da48054784f00230b
|
4
|
+
data.tar.gz: 123d1ceda4adfa6226bd8e20c64accff1e8d6aef24fe636691f9a227cd371d4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b88696f5abfe45cc27824635cb07cbd9764d3f0c3680c8e17e330fb0bb3d7827cd415d0c51ca126fd42b991d38f39d02928a1be975300aa9d58bc49d9cd9275
|
7
|
+
data.tar.gz: 29a1c0573bb116849ec55f0868b7d5e38fa4fdb14e3ba6828741ea3171955a78d293f5eda649a6e96988839b4fae5902368d17d14ea61995c2f5df8d6e5ade6d
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Queenbee
|
2
2
|
|
3
|
-
[![
|
3
|
+
[![Tests](https://github.com/olimart/queenbee-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/olimart/queenbee-ruby/actions/workflows/ci.yml)
|
4
4
|
|
5
5
|
Simple gem for communicating with external API. Heavily inspired by stripe gem.
|
6
6
|
|
data/lib/queenbee/version.rb
CHANGED
data/lib/queenbee.rb
CHANGED
@@ -123,15 +123,15 @@ module Queenbee
|
|
123
123
|
end
|
124
124
|
|
125
125
|
def self.invalid_request_error(message, rcode, rbody, error_obj)
|
126
|
-
InvalidRequestError.new(
|
126
|
+
InvalidRequestError.new(message, rcode, rbody, error_obj)
|
127
127
|
end
|
128
128
|
|
129
129
|
def self.authentication_error(message, rcode, rbody, error_obj)
|
130
|
-
AuthenticationError.new(
|
130
|
+
AuthenticationError.new(message, rcode, rbody, error_obj)
|
131
131
|
end
|
132
132
|
|
133
133
|
def self.api_error(message, rcode, rbody, error_obj)
|
134
|
-
APIError.new(
|
134
|
+
APIError.new(message, rcode, rbody, error_obj)
|
135
135
|
end
|
136
136
|
|
137
137
|
def self.general_api_error(rcode, rbody)
|