Module: Labimotion::VocabularyHelpers

Extended by:
Grape::API::Helpers
Defined in:
lib/labimotion/helpers/vocabulary_helpers.rb

Overview

Helper for associated sample

Instance Method Summary collapse

Instance Method Details

#update_vocabularies(properties, current_user, element) ⇒ Object



8
9
10
11
12
13
# File 'lib/labimotion/helpers/vocabulary_helpers.rb', line 8

def update_vocabularies(properties, current_user, element)
  Labimotion::VocabularyHandler.update_vocabularies(properties, current_user, element)
rescue StandardError => e
  Labimotion.log_exception(e, current_user)
  properties
end