lockstep_rails 0.3.56 → 0.3.58
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/app/concepts/lockstep/query.rb +1 -4
- data/app/models/lockstep/service_fabric_payment.rb +1 -1
- data/lib/lockstep_rails/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: 10e5396a66ad03f74ab26110a5e28735de9ded83067164fde5c51dd5eedeac7a
|
4
|
+
data.tar.gz: 2c6c8f5d092e8496185b6ac7f8f06574eb345a4f39818732009089f19c884995
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 336c65121dccd797672347a3334e72198f36bc1b042b17fae4c52d8f4764270ae0e5d66d6f4a8004753721bd3728e939d6d1ddf07a6b65121f5489562bcb74fc
|
7
|
+
data.tar.gz: 72669f5a0dbaeba077cdea70084c284e5f852fd22e1e31e48c12bf691a7fb180916f28cf9f15a1410f419bfa6bee33ae13af8a7930029923544e7a46e163fcff
|
data/README.md
CHANGED
@@ -175,7 +175,11 @@ Lockstep::Connection.count
|
|
175
175
|
Lockstep::Connection.where(status: "Active").count
|
176
176
|
# 100
|
177
177
|
```
|
178
|
-
|
178
|
+
### With Count
|
179
|
+
```ruby
|
180
|
+
records , count = Lockstep::Connection.where(status: "active").with_count(true).execute
|
181
|
+
# records get the records for the query and the with count if used will return the total number of records present for that query.
|
182
|
+
```
|
179
183
|
### Limit
|
180
184
|
You can limit the number of records being fetched by passing `limit`
|
181
185
|
|
@@ -21,7 +21,7 @@ class Lockstep::ServiceFabricPayment < Lockstep::ApiRecord
|
|
21
21
|
# Overriding This method to not send body inside an Array
|
22
22
|
def create
|
23
23
|
attrs = attributes_for_saving.transform_keys { |key| key.camelize(:lower) }
|
24
|
-
resp = resource.post('', body: attrs)
|
24
|
+
resp = resource.post(attrs['creditorAccount']['companyId'], body: attrs)
|
25
25
|
result = post_result(resp)
|
26
26
|
end
|
27
27
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lockstep_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.58
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vivek AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|