Class: GrowthPush::API::Clients

Inherits:
Object
  • Object
show all
Extended by:
GrowthPush::API
Defined in:
lib/growth_push/api/clients.rb

Class Method Summary collapse

Methods included from GrowthPush::API

endpoint_for_class_name, request

Class Method Details

.update(params = {}) ⇒ Object



9
10
11
12
# File 'lib/growth_push/api/clients.rb', line 9

def update(params={})
  endpoint = "clients/#{params[:client_id]}"
  request(:put, params, endpoint)
end