Class: Vero::Api::Users

Inherits:
Base show all
Defined in:
lib/vero/api.rb

Instance Attribute Summary

Attributes inherited from Base

#context

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#config, #initialize, #run_api

Constructor Details

This class inherits a constructor from Vero::Api::Base

Class Method Details

.edit_user!(options, context = Vero::App.default_context) ⇒ Object



44
45
46
# File 'lib/vero/api.rb', line 44

def self.edit_user!(options, context = Vero::App.default_context)
  new(context).edit_user!(options)
end

.edit_user_tags!(options, context = Vero::App.default_context) ⇒ Object



48
49
50
# File 'lib/vero/api.rb', line 48

def self.edit_user_tags!(options, context = Vero::App.default_context)
  new(context).edit_user_tags!(options)
end

.reidentify!(options, context = Vero::App.default_context) ⇒ Object



52
53
54
# File 'lib/vero/api.rb', line 52

def self.reidentify!(options, context = Vero::App.default_context)
  new(context).reidentify!(options)
end

.resubscribe!(options, context = Vero::App.default_context) ⇒ Object



60
61
62
# File 'lib/vero/api.rb', line 60

def self.resubscribe!(options, context = Vero::App.default_context)
  new(context).resubscribe!(options)
end

.track!(options, context = Vero::App.default_context) ⇒ Object



40
41
42
# File 'lib/vero/api.rb', line 40

def self.track!(options, context = Vero::App.default_context)
  new(context).track!(options)
end

.unsubscribe!(options, context = Vero::App.default_context) ⇒ Object



56
57
58
# File 'lib/vero/api.rb', line 56

def self.unsubscribe!(options, context = Vero::App.default_context)
  new(context).unsubscribe!(options)
end

Instance Method Details

#edit_user!(options) ⇒ Object



68
69
70
# File 'lib/vero/api.rb', line 68

def edit_user!(options)
  run_api(Vero::Api::Workers::Users::EditAPI, options)
end

#edit_user_tags!(options) ⇒ Object



72
73
74
# File 'lib/vero/api.rb', line 72

def edit_user_tags!(options)
  run_api(Vero::Api::Workers::Users::EditTagsAPI, options)
end

#reidentify!(options) ⇒ Object



84
85
86
# File 'lib/vero/api.rb', line 84

def reidentify!(options)
  run_api(Vero::Api::Workers::Users::ReidentifyAPI, options)
end

#resubscribe!(options) ⇒ Object



80
81
82
# File 'lib/vero/api.rb', line 80

def resubscribe!(options)
  run_api(Vero::Api::Workers::Users::ResubscribeAPI, options)
end

#track!(options) ⇒ Object



64
65
66
# File 'lib/vero/api.rb', line 64

def track!(options)
  run_api(Vero::Api::Workers::Users::TrackAPI, options)
end

#unsubscribe!(options) ⇒ Object



76
77
78
# File 'lib/vero/api.rb', line 76

def unsubscribe!(options)
  run_api(Vero::Api::Workers::Users::UnsubscribeAPI, options)
end