lockstep_rails 0.3.39 → 0.3.40
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 -0
- data/app/models/lockstep/feature_flag.rb +12 -0
- data/app/platform_api/schema/feature_flag.rb +12 -0
- data/lib/lockstep_rails/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c508ea985ebe8dcc40347155d65906644029e04dd0509729426ae402ee7845bc
|
4
|
+
data.tar.gz: d5f6beeb58cc6b917b35b13c75e969e0d09a481f3c27c657fa2c359aca9978ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bc6be24ade1d82291e5ec5cabda85c81d0bf0bffda69112ad12ff0d9e138a7c2a40bff024a4782194b7156afc5f13b2360986e6e8ec0aea987fcc4bc7a01fac
|
7
|
+
data.tar.gz: 95966dbf562bc60e2372a9926ea22e4ccfbc2819ed4f9d1a6ac65857e51d2071389a9439cfdb931e9ac535ae7db025672913d536c0cdc2fe9baa39a73f3c868f
|
data/README.md
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
class Lockstep::FeatureFlag < Lockstep::ApiRecord
|
2
|
+
self.model_name_uri = "v1/feature-flags"
|
3
|
+
self.query_path=""
|
4
|
+
load_schema(Schema::FeatureFlag)
|
5
|
+
|
6
|
+
# Create method to override conventional create in lockstep/api_record.rb for sending attrs as an enclosed hash/object
|
7
|
+
def create
|
8
|
+
resp = resource.post('', body: attributes)
|
9
|
+
result = post_result(resp)
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
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.40
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vivek AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- app/models/lockstep/connection.rb
|
52
52
|
- app/models/lockstep/contact.rb
|
53
53
|
- app/models/lockstep/customer_summary.rb
|
54
|
+
- app/models/lockstep/feature_flag.rb
|
54
55
|
- app/models/lockstep/invoice.rb
|
55
56
|
- app/models/lockstep/invoice_at_risk_summary.rb
|
56
57
|
- app/models/lockstep/invoice_summary.rb
|
@@ -147,6 +148,7 @@ files:
|
|
147
148
|
- app/platform_api/schema/erp_info_data.rb
|
148
149
|
- app/platform_api/schema/event_info.rb
|
149
150
|
- app/platform_api/schema/exception.rb
|
151
|
+
- app/platform_api/schema/feature_flag.rb
|
150
152
|
- app/platform_api/schema/feature_flags_request.rb
|
151
153
|
- app/platform_api/schema/feature_flags_response.rb
|
152
154
|
- app/platform_api/schema/field_info.rb
|