Class: SmartlistPushApi::Custom

Inherits:
Object
  • Object
show all
Defined in:
lib/smartlist_push_api/custom.rb

Class Method Summary collapse

Class Method Details

.create(user_id, data) ⇒ Object



4
5
6
# File 'lib/smartlist_push_api/custom.rb', line 4

def self.create(user_id, data)
  SmartlistPushApi.make_post_request('/custom/', {id: user_id}.merge(data))
end