billfixers-partner 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/billfixers/partner/client.rb +3 -2
- data/lib/billfixers/partner/gql.rb +3 -2
- data/lib/billfixers/partner/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: 87fd5afe6c49d7eefb2c2912bf4823141198309cea99f5f37032d61807f3a7ca
|
4
|
+
data.tar.gz: 7daae9f74a63d5ef9e0d26814c5320eeb133b88e181aca01fd9f13c6619a723d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 360aad7e5934e18b0cd1d7b840c9046facbe3736e3d4cc57313a1b7c184432e02f98dd3242414f4cccc2caf2892067bd7221f85e4388d983294c7d94581bd713
|
7
|
+
data.tar.gz: '0732618d89be7d68c2d13cea44e4e73f95b6eb92133626e948dcdd4abecf26dbf3db6216cbc47c704d12c2eb8eace0cc18f98fa9a817bbad4f5e64b7e5a77541'
|
@@ -46,12 +46,13 @@ module Billfixers
|
|
46
46
|
[result.total_count, result.nodes]
|
47
47
|
end
|
48
48
|
|
49
|
-
def list_offers(limit: 25, offset: 0, customer_id: nil, bill_id: nil)
|
49
|
+
def list_offers(limit: 25, offset: 0, customer_id: nil, bill_id: nil, status: nil)
|
50
50
|
response = @gql.query(LIST_OFFERS_QUERY, {
|
51
51
|
limit: limit,
|
52
52
|
offset: offset,
|
53
53
|
customer_id: customer_id,
|
54
|
-
bill_id: bill_id
|
54
|
+
bill_id: bill_id,
|
55
|
+
status: status
|
55
56
|
})
|
56
57
|
|
57
58
|
result = response.data.list_offers
|
@@ -117,12 +117,13 @@ module Billfixers
|
|
117
117
|
)
|
118
118
|
|
119
119
|
LIST_OFFERS_QUERY = %(
|
120
|
-
query($limit: Int, $offset: Int, $customer_id: ID, $bill_id: ID) {
|
120
|
+
query($limit: Int, $offset: Int, $customer_id: ID, $bill_id: ID, $status: String) {
|
121
121
|
ListOffers(
|
122
122
|
limit: $limit,
|
123
123
|
offset: $offset,
|
124
124
|
customerId: $customer_id,
|
125
|
-
billId: $bill_id
|
125
|
+
billId: $bill_id,
|
126
|
+
status: $status
|
126
127
|
) {
|
127
128
|
totalCount
|
128
129
|
nodes {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: billfixers-partner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BillFixers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|