Sha256: 11670e653e4fe81ed47f201cc95b79d81a44efe2f85c3d4c8dc203f1c1b384d1
Contents?: true
Size: 376 Bytes
Versions: 14
Compression:
Stored size: 376 Bytes
Contents
module KB module Updatable extend ActiveSupport::Concern included do include Queryable end module ClassMethods def update(key, attributes) api_response = kb_client.update(key, attributes) attributes_from_response(api_response) rescue Faraday::Error => e raise KB::Error.from_faraday(e) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems