Sha256: ce61497399dd076cdc0f33323c8dbf518fa12ab737f04c5d4f55af35c1697aab

Contents?: true

Size: 504 Bytes

Versions: 5

Compression:

Stored size: 504 Bytes

Contents

module Tamber
  class User < APIResource
    extend Tamber::APIOperations::Create
    extend Tamber::APIOperations::Update
    extend Tamber::APIOperations::Retrieve
    extend Tamber::APIOperations::List

    def self.search(params={})
      response = request(:post, url + '/search', 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
    
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tamber-0.1.12 lib/tamber/user.rb
tamber-0.1.11 lib/tamber/user.rb
tamber-0.1.10 lib/tamber/user.rb
tamber-0.1.9 lib/tamber/user.rb
tamber-0.1.8 lib/tamber/user.rb