File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: .
3
3
specs:
4
- lockstep_rails (0.3.89 )
4
+ lockstep_rails (0.3.90 )
5
5
rails
6
6
7
7
GEM
Original file line number Diff line number Diff line change @@ -2,4 +2,16 @@ class Lockstep::CustomFieldValue < Lockstep::ApiRecord
2
2
self . model_name_uri = 'v1/CustomFieldValues'
3
3
self . id_ref = 'custom_field_definition_id'
4
4
load_schema ( Schema ::CustomFieldValue )
5
+
6
+ def update ( attributes = { } )
7
+ attributes = HashWithIndifferentAccess . new ( attributes )
8
+
9
+ @unsaved_attributes . merge! ( attributes )
10
+ attrs = attributes_for_saving . transform_keys { |key | key . camelize ( :lower ) }
11
+
12
+ # Label with CustomerLocale to be updated from here
13
+ resp = resource . patch ( "CustomerLocale/#{ attributes [ :record_key ] } " , body : attrs )
14
+ result = post_result ( resp )
15
+ end
16
+
5
17
end
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
3
module LockstepRails
4
- VERSION = '0.3.89 '
4
+ VERSION = '0.3.90 '
5
5
end
You can’t perform that action at this time.
0 commit comments