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

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



66
67
68
# File 'lib/vero/api.rb', line 66

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

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



46
47
48
# File 'lib/vero/api.rb', line 46

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



50
51
52
# File 'lib/vero/api.rb', line 50

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



54
55
56
# File 'lib/vero/api.rb', line 54

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

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



62
63
64
# File 'lib/vero/api.rb', line 62

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

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



42
43
44
# File 'lib/vero/api.rb', line 42

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

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



58
59
60
# File 'lib/vero/api.rb', line 58

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

Instance Method Details

#delete!(options) ⇒ Object



94
95
96
# File 'lib/vero/api.rb', line 94

def delete!(options)
  run_api(Vero::Api::Workers::Users::DeleteAPI, options)
end

#edit_user!(options) ⇒ Object



74
75
76
# File 'lib/vero/api.rb', line 74

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

#edit_user_tags!(options) ⇒ Object



78
79
80
# File 'lib/vero/api.rb', line 78

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

#reidentify!(options) ⇒ Object



90
91
92
# File 'lib/vero/api.rb', line 90

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

#resubscribe!(options) ⇒ Object



86
87
88
# File 'lib/vero/api.rb', line 86

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

#track!(options) ⇒ Object



70
71
72
# File 'lib/vero/api.rb', line 70

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

#unsubscribe!(options) ⇒ Object



82
83
84
# File 'lib/vero/api.rb', line 82

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