billfixers-partner 0.1.1 → 0.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: 421f12c33babd09fd40c87353f888f4960eee10e3805d6f2eb7205499a149881
4
- data.tar.gz: 27c1543c2706afe129eb457e67d492997211708bc3c899944ddd322794432fed
3
+ metadata.gz: 87fd5afe6c49d7eefb2c2912bf4823141198309cea99f5f37032d61807f3a7ca
4
+ data.tar.gz: 7daae9f74a63d5ef9e0d26814c5320eeb133b88e181aca01fd9f13c6619a723d
5
5
  SHA512:
6
- metadata.gz: 47763f221b005c6344004f38a7a6b9f6a10fcc5cbf873913bbd4fe563cf417a70f55ee93502c96ee5a4794780f7e6a9cc21404f1df25f5723976499f30883758
7
- data.tar.gz: 8c8167d741f8ff8f121b571d838b31824bdf184ebd10ee81627483ac2e125f0a014cba866ec2d1cb072f1a02bb9befdb211033ded6fc066209879c56f966431f
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 {
@@ -1,5 +1,5 @@
1
1
  module Billfixers
2
2
  module Partner
3
- VERSION = '0.1.1'.freeze
3
+ VERSION = '0.1.2'.freeze
4
4
  end
5
5
  end
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.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-25 00:00:00.000000000 Z
11
+ date: 2020-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport