Sha256: e52b79d92da44cc11f4629e6db94944bd0ef5a1313da3205c48686f25c18f92f
Contents?: true
Size: 903 Bytes
Versions: 89
Compression:
Stored size: 903 Bytes
Contents
module RockRMS class Client module AttributeValue def list_attribute_values(options = {}) Response::AttributeValue.format( get(attribute_values_path, options) ) end def create_attribute_value(attribute_id:, entity_id:, value:) options = { 'AttributeId' => attribute_id, 'EntityId' => entity_id, 'Value' => value, 'IsSystem' => false } post(attribute_values_path, options) end def update_attribute_value(id, attribute_id:, entity_id:, value:) options = { 'AttributeId' => attribute_id, 'EntityId' => entity_id, 'Value' => value, } patch("#{attribute_values_path}/#{id}", options) end private def attribute_values_path 'AttributeValues'.freeze end end end end
Version data entries
89 entries across 89 versions & 1 rubygems