Sha256: 56a32b2c677ca9b5d4422504eb093abfa44c780e5682e743e6a4ebbb395373b9
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
module Tamber class User < APIResource extend Tamber::APIOperations::Create extend Tamber::APIOperations::Save extend Tamber::APIOperations::Retrieve extend Tamber::APIOperations::List def self.update(params={}) warn "[DEPRECATION] `User.update` is deprecated. Please use `User.save` instead." response = request(:post, url + '/update', params) Util.convert_to_tamber_object(response) end def self.search(params={}) warn "[DEPRECATION] `User.search` is deprecated. Please use `User.list` instead." response = request(:post, url + '/list', params) Util.convert_to_tamber_object(response) end def self.merge(params={}) response = request(:post, url + '/merge', params) Util.convert_to_tamber_object(response) end # Deprecated in api version 2020-6-11 def self.update(params={}) warn "[DEPRECATION] `User.update` is deprecated. Please use `User.save` instead." response = request(:post, url + '/save', params) Util.convert_to_tamber_object(response) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tamber-0.2.1 | lib/tamber/user.rb |
tamber-0.2.0 | lib/tamber/user.rb |