elocal_api_support 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elocal_api_support/actions/update.rb +1 -1
- data/lib/elocal_api_support/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: b9df18595953062e2549b99c2f68d656aefee4033d184f69ba2faefd4d6889ed
|
4
|
+
data.tar.gz: aa12b0974cd16026c6f88b45eb570d25fb70c1f442803b5df61a2c117653a06d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: daa2201cfece667be10e5e8c010b84a3dcb7d90bfbd63a6d2b89c2f991636758a8c3a31491a625bbe707262c72ae9382835b47c11b1e6991461936b01ee346ce
|
7
|
+
data.tar.gz: a276f6fe6d414d7805f790973ff41fb7b63a2539336d267a399288b006cd02c0214467a388588731b64bcca349f994ecbd2c373a838ca07d471de659f2fdc7ba
|
@@ -6,7 +6,7 @@ module ElocalApiSupport
|
|
6
6
|
DEFAULT_IGNORED_PARAMETERS = %w(id created_at updated_at).freeze
|
7
7
|
|
8
8
|
def update
|
9
|
-
if lookup_object.
|
9
|
+
if lookup_object.update(parameters_available_for_update)
|
10
10
|
render json: lookup_object
|
11
11
|
else
|
12
12
|
Rails.logger.info { "There was an issue updating model #{lookup_object}" }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elocal_api_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Di Marco
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|