Module: FmRest::Spyke::Model::GlobalFields

Extended by:
ActiveSupport::Concern
Included in:
FmRest::Spyke::Model
Defined in:
lib/fmrest/spyke/model/global_fields.rb

Class Method Summary collapse

Class Method Details

.set_globals(values_hash) ⇒ Object



10
11
12
13
14
# File 'lib/fmrest/spyke/model/global_fields.rb', line 10

def set_globals(values_hash)
  connection.patch(FmRest::V1.globals_path, {
    globalFields: normalize_globals_hash(values_hash)
  })
end