Class: CiscoWebex::Journey
Instance Method Summary
collapse
#address_books, #agent_profiles, #agents, #auxiliary_codes, #captures, #dial_plans, #entry_point_mappings, #entry_points, #journey, #multimedia_profiles, #my_org, #outbound_ani, #queues, #sites, #skill_profiles, #skills, #subscriptions, #tasks, #teams, #user_profiles, #users
Constructor Details
#initialize(token = nil, org_id = nil) ⇒ Journey
Returns a new instance of Journey.
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# File 'lib/CC/Journey/Journey.rb', line 8
def initialize(token=nil, org_id=nil)
if token == nil || org_id == nil
STDERR.puts "Must provde token and org_idwhen initiating CiscoWebex::CC::Journey"
return false
else
@org_id = org_id
@auth_token = token
@actions = Actions.new(@auth_token, @org_id)
@events = JourneyEvents.new(@auth_token, @org_id)
@identities = Identities.new(@auth_token, @org_id)
@aliases = Aliases.new(@auth_token, @org_id)
@profile_views = ProfileViews.new(@auth_token, @org_id)
@reports = Reports.new(@auth_token, @org_id)
@streams = Streams.new(@auth_token, @org_id)
@views = Views.new(@auth_token, @org_id)
end
end
|
Instance Method Details
#actions ⇒ Object
51
52
53
|
# File 'lib/CC/Journey/Journey.rb', line 51
def actions()
return @actions
end
|
#aliases ⇒ Object
63
64
65
|
# File 'lib/CC/Journey/Journey.rb', line 63
def aliases()
return @aliases
end
|
#events ⇒ Object
55
56
57
|
# File 'lib/CC/Journey/Journey.rb', line 55
def events()
return @events
end
|
#get(uri, params = nil, limit = 50000) ⇒ Object
32
33
34
|
# File 'lib/CC/Journey/Journey.rb', line 32
def get(uri, params=nil, limit=50000)
return CiscoWebex::RestCC.get(@auth_token, uri, params, limit)
end
|
#head(uri, params = nil) ⇒ Object
37
38
39
|
# File 'lib/CC/Journey/Journey.rb', line 37
def head(uri, params=nil)
return CiscoWebex::RestCC.head(@auth_token, uri, params)
end
|
#identities ⇒ Object
59
60
61
|
# File 'lib/CC/Journey/Journey.rb', line 59
def identities()
return @identities
end
|
#post(uri, params = nil) ⇒ Object
42
43
44
|
# File 'lib/CC/Journey/Journey.rb', line 42
def post(uri, params=nil)
return CiscoWebex::RestCC.post(@auth_token, uri, params)
end
|
#profile_views ⇒ Object
67
68
69
|
# File 'lib/CC/Journey/Journey.rb', line 67
def profile_views()
return @profile_views
end
|
#put(uri, params = nil) ⇒ Object
47
48
49
|
# File 'lib/CC/Journey/Journey.rb', line 47
def put(uri, params=nil)
return CiscoWebex::RestCC.put(@auth_token, uri, params)
end
|
#reports ⇒ Object
71
72
73
|
# File 'lib/CC/Journey/Journey.rb', line 71
def reports()
return @reports
end
|
#streams ⇒ Object
75
76
77
|
# File 'lib/CC/Journey/Journey.rb', line 75
def streams()
return @streams
end
|
#this ⇒ Object
27
28
29
|
# File 'lib/CC/Journey/Journey.rb', line 27
def this()
puts "CiscoWebex::CC::Journey - Org:#{@org_id}"
end
|
#views ⇒ Object
79
80
81
|
# File 'lib/CC/Journey/Journey.rb', line 79
def views()
return @views
end
|