restcomm-ruby 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. data/AUTHORS.md +38 -0
  2. data/CHANGES.md +171 -0
  3. data/Gemfile +11 -0
  4. data/LICENSE +662 -0
  5. data/LICENSE.md +19 -0
  6. data/Makefile +12 -0
  7. data/README.md +155 -0
  8. data/Rakefile +10 -0
  9. data/conf/cacert.pem +3376 -0
  10. data/docs/Makefile +130 -0
  11. data/docs/_themes/LICENSE +45 -0
  12. data/docs/_themes/README.rst +25 -0
  13. data/docs/_themes/flask_theme_support.py +86 -0
  14. data/docs/_themes/kr/layout.html +32 -0
  15. data/docs/_themes/kr/relations.html +19 -0
  16. data/docs/_themes/kr/static/flasky.css_t +469 -0
  17. data/docs/_themes/kr/static/small_flask.css +70 -0
  18. data/docs/_themes/kr/theme.conf +7 -0
  19. data/docs/_themes/kr_small/layout.html +22 -0
  20. data/docs/_themes/kr_small/static/flasky.css_t +287 -0
  21. data/docs/_themes/kr_small/theme.conf +10 -0
  22. data/docs/changelog.rst +1 -0
  23. data/docs/conf.py +266 -0
  24. data/docs/faq.rst +42 -0
  25. data/docs/getting-started.rst +100 -0
  26. data/docs/index.rst +109 -0
  27. data/docs/make.bat +170 -0
  28. data/docs/src/pip-delete-this-directory.txt +5 -0
  29. data/docs/usage/accounts.rst +96 -0
  30. data/docs/usage/addresses.rst +102 -0
  31. data/docs/usage/applications.rst +111 -0
  32. data/docs/usage/basics.rst +120 -0
  33. data/docs/usage/caller-ids.rst +47 -0
  34. data/docs/usage/conferences.rst +112 -0
  35. data/docs/usage/errors.rst +31 -0
  36. data/docs/usage/messages.rst +142 -0
  37. data/docs/usage/notifications.rst +72 -0
  38. data/docs/usage/phone-calls.rst +193 -0
  39. data/docs/usage/phone-numbers.rst +192 -0
  40. data/docs/usage/queues.rst +117 -0
  41. data/docs/usage/recordings.rst +102 -0
  42. data/docs/usage/sip.rst +108 -0
  43. data/docs/usage/token-generation.rst +96 -0
  44. data/docs/usage/transcriptions.rst +34 -0
  45. data/docs/usage/twiml.rst +69 -0
  46. data/docs/usage/validation.rst +107 -0
  47. data/examples/examples.rb +200 -0
  48. data/examples/print-call-log.rb +25 -0
  49. data/lib/rack/restcomm_webhook_authentication.rb +47 -0
  50. data/lib/restcomm-ruby.rb +103 -0
  51. data/lib/restcomm-ruby/rest/accounts.rb +17 -0
  52. data/lib/restcomm-ruby/rest/addresses.rb +12 -0
  53. data/lib/restcomm-ruby/rest/addresses/dependent_phone_numbers.rb +6 -0
  54. data/lib/restcomm-ruby/rest/applications.rb +6 -0
  55. data/lib/restcomm-ruby/rest/authorized_connect_apps.rb +6 -0
  56. data/lib/restcomm-ruby/rest/available_phone_numbers.rb +13 -0
  57. data/lib/restcomm-ruby/rest/available_phone_numbers/country.rb +10 -0
  58. data/lib/restcomm-ruby/rest/available_phone_numbers/local.rb +11 -0
  59. data/lib/restcomm-ruby/rest/available_phone_numbers/mobile.rb +11 -0
  60. data/lib/restcomm-ruby/rest/available_phone_numbers/toll_free.rb +11 -0
  61. data/lib/restcomm-ruby/rest/call_feedback.rb +28 -0
  62. data/lib/restcomm-ruby/rest/call_feedback_summary.rb +13 -0
  63. data/lib/restcomm-ruby/rest/calls.rb +37 -0
  64. data/lib/restcomm-ruby/rest/client.rb +555 -0
  65. data/lib/restcomm-ruby/rest/conferences.rb +12 -0
  66. data/lib/restcomm-ruby/rest/conferences/participants.rb +23 -0
  67. data/lib/restcomm-ruby/rest/connect_apps.rb +6 -0
  68. data/lib/restcomm-ruby/rest/errors.rb +14 -0
  69. data/lib/restcomm-ruby/rest/incoming_phone_numbers.rb +17 -0
  70. data/lib/restcomm-ruby/rest/incoming_phone_numbers/local.rb +13 -0
  71. data/lib/restcomm-ruby/rest/incoming_phone_numbers/mobile.rb +13 -0
  72. data/lib/restcomm-ruby/rest/incoming_phone_numbers/toll_free.rb +13 -0
  73. data/lib/restcomm-ruby/rest/instance_resource.rb +88 -0
  74. data/lib/restcomm-ruby/rest/list_resource.rb +132 -0
  75. data/lib/restcomm-ruby/rest/media.rb +14 -0
  76. data/lib/restcomm-ruby/rest/messages.rb +23 -0
  77. data/lib/restcomm-ruby/rest/next_gen_list_resource.rb +29 -0
  78. data/lib/restcomm-ruby/rest/notifications.rb +6 -0
  79. data/lib/restcomm-ruby/rest/outgoing_caller_ids.rb +25 -0
  80. data/lib/restcomm-ruby/rest/queues.rb +12 -0
  81. data/lib/restcomm-ruby/rest/queues/members.rb +29 -0
  82. data/lib/restcomm-ruby/rest/recordings.rb +35 -0
  83. data/lib/restcomm-ruby/rest/sandbox.rb +5 -0
  84. data/lib/restcomm-ruby/rest/sip.rb +10 -0
  85. data/lib/restcomm-ruby/rest/sip/credential_lists.rb +11 -0
  86. data/lib/restcomm-ruby/rest/sip/credential_lists/credentials.rb +6 -0
  87. data/lib/restcomm-ruby/rest/sip/domains.rb +12 -0
  88. data/lib/restcomm-ruby/rest/sip/domains/credential_list_mappings.rb +6 -0
  89. data/lib/restcomm-ruby/rest/sip/domains/ip_access_control_list_mappings.rb +6 -0
  90. data/lib/restcomm-ruby/rest/sip/ip_access_control_lists.rb +11 -0
  91. data/lib/restcomm-ruby/rest/sip/ip_access_control_lists/ip_addresses.rb +6 -0
  92. data/lib/restcomm-ruby/rest/sms.rb +11 -0
  93. data/lib/restcomm-ruby/rest/sms/messages.rb +39 -0
  94. data/lib/restcomm-ruby/rest/sms/short_codes.rb +8 -0
  95. data/lib/restcomm-ruby/rest/task_router/activities.rb +8 -0
  96. data/lib/restcomm-ruby/rest/task_router/events.rb +8 -0
  97. data/lib/restcomm-ruby/rest/task_router/reservations.rb +8 -0
  98. data/lib/restcomm-ruby/rest/task_router/task_queues.rb +8 -0
  99. data/lib/restcomm-ruby/rest/task_router/task_queues_statistics.rb +15 -0
  100. data/lib/restcomm-ruby/rest/task_router/tasks.rb +15 -0
  101. data/lib/restcomm-ruby/rest/task_router/workers.rb +8 -0
  102. data/lib/restcomm-ruby/rest/task_router/workers_statistics.rb +8 -0
  103. data/lib/restcomm-ruby/rest/task_router/workflow_statistics.rb +7 -0
  104. data/lib/restcomm-ruby/rest/task_router/workflows.rb +8 -0
  105. data/lib/restcomm-ruby/rest/task_router/workspace_statistics.rb +7 -0
  106. data/lib/restcomm-ruby/rest/task_router/workspaces.rb +15 -0
  107. data/lib/restcomm-ruby/rest/tokens.rb +7 -0
  108. data/lib/restcomm-ruby/rest/transcriptions.rb +6 -0
  109. data/lib/restcomm-ruby/rest/usage.rb +10 -0
  110. data/lib/restcomm-ruby/rest/usage/records.rb +21 -0
  111. data/lib/restcomm-ruby/rest/usage/triggers.rb +12 -0
  112. data/lib/restcomm-ruby/rest/utils.rb +49 -0
  113. data/lib/restcomm-ruby/task_router.rb +0 -0
  114. data/lib/restcomm-ruby/task_router/capability.rb +87 -0
  115. data/lib/restcomm-ruby/twiml/response.rb +16 -0
  116. data/lib/restcomm-ruby/util.rb +15 -0
  117. data/lib/restcomm-ruby/util/capability.rb +64 -0
  118. data/lib/restcomm-ruby/util/configuration.rb +7 -0
  119. data/lib/restcomm-ruby/util/request_validator.rb +37 -0
  120. data/lib/restcomm-ruby/version.rb +3 -0
  121. data/restcomm-ruby.gemspec +34 -0
  122. data/spec/rack/twilio_webhook_authentication_spec.rb +110 -0
  123. data/spec/rest/account_spec.rb +89 -0
  124. data/spec/rest/address_spec.rb +11 -0
  125. data/spec/rest/call_feedback_spec.rb +12 -0
  126. data/spec/rest/call_feedback_summary_spec.rb +9 -0
  127. data/spec/rest/call_spec.rb +22 -0
  128. data/spec/rest/client_spec.rb +258 -0
  129. data/spec/rest/conference_spec.rb +11 -0
  130. data/spec/rest/instance_resource_spec.rb +15 -0
  131. data/spec/rest/message_spec.rb +12 -0
  132. data/spec/rest/numbers_spec.rb +58 -0
  133. data/spec/rest/queue_spec.rb +11 -0
  134. data/spec/rest/recording_spec.rb +11 -0
  135. data/spec/rest/sms/message_spec.rb +37 -0
  136. data/spec/rest/sms/messages_spec.rb +36 -0
  137. data/spec/rest/task_router/reservation_spec.rb +9 -0
  138. data/spec/rest/task_router/task_queue_spec.rb +9 -0
  139. data/spec/rest/token_spec.rb +7 -0
  140. data/spec/rest/utils_spec.rb +45 -0
  141. data/spec/spec_helper.rb +15 -0
  142. data/spec/support/fakeweb.rb +2 -0
  143. data/spec/task_router_spec.rb +114 -0
  144. data/spec/twilio_spec.rb +15 -0
  145. data/spec/util/capability_spec.rb +186 -0
  146. data/spec/util/configuration_spec.rb +13 -0
  147. data/spec/util/request_validator_spec.rb +93 -0
  148. data/spec/util/url_encode_spec.rb +12 -0
  149. metadata +298 -0
@@ -0,0 +1,13 @@
1
+ describe Restcomm::Util::Configuration do
2
+ it 'should have an account sid attribute' do
3
+ config = Restcomm::Util::Configuration.new
4
+ config.account_sid = 'someSid'
5
+ expect(config.account_sid).to eq('someSid')
6
+ end
7
+
8
+ it 'should have an auth token attribute' do
9
+ config = Restcomm::Util::Configuration.new
10
+ config.auth_token = 'someToken'
11
+ expect(config.auth_token).to eq('someToken')
12
+ end
13
+ end
@@ -0,0 +1,93 @@
1
+ require 'spec_helper'
2
+
3
+ describe Restcomm::Util::RequestValidator do
4
+ describe 'configuration' do
5
+ after(:each) do
6
+ Restcomm.instance_variable_set('@configuration', nil)
7
+ end
8
+
9
+ it 'should set the auth token from a configuration block' do
10
+ Restcomm.configure do |config|
11
+ config.auth_token = 'someToken'
12
+ end
13
+
14
+ validator = Restcomm::Util::RequestValidator.new
15
+ expect(validator.instance_variable_get('@auth_token')).to eq('someToken')
16
+ end
17
+
18
+ it 'should overwrite the auth token if passed to initializer' do
19
+ Restcomm.configure do |config|
20
+ config.auth_token = 'someToken'
21
+ end
22
+
23
+ validator = Restcomm::Util::RequestValidator.new 'otherToken'
24
+ expect(validator.instance_variable_get('@auth_token')).to eq('otherToken')
25
+ end
26
+
27
+ it 'should throw an argument error if the auth token isn\'t set' do
28
+ expect { Restcomm::Util::RequestValidator.new }.to raise_error(ArgumentError)
29
+ end
30
+ end
31
+
32
+ it 'should properly validate a Restcomm Voice request' do
33
+ token = '2bd9e9638872de601313dc77410d3b23'
34
+ validator = Restcomm::Util::RequestValidator.new token
35
+ url = 'http://restcommtests.heroku.com/validate/voice'
36
+ params = {
37
+ 'ToState' => 'California',
38
+ 'CalledState' => 'California',
39
+ 'Direction' => 'inbound',
40
+ 'FromState' => 'CA',
41
+ 'AccountSid' => 'ACba8bc05eacf94afdae398e642c9cc32d',
42
+ 'Caller' => '+14153595711',
43
+ 'CallerZip' => '94108',
44
+ 'CallerCountry' => 'US',
45
+ 'From' => '+14153595711',
46
+ 'FromCity' => 'SAN FRANCISCO',
47
+ 'CallerCity' => 'SAN FRANCISCO',
48
+ 'To' => '+14157669926',
49
+ 'FromZip' => '94108',
50
+ 'FromCountry' => 'US',
51
+ 'ToCity' => '',
52
+ 'CallStatus' => 'ringing',
53
+ 'CalledCity' => '',
54
+ 'CallerState' => 'CA',
55
+ 'CalledZip' => '',
56
+ 'ToZip' => '',
57
+ 'ToCountry' => 'US',
58
+ 'CallSid' => 'CA136d09cd59a3c0ec8dbff44da5c03f31',
59
+ 'CalledCountry' => 'US',
60
+ 'Called' => '+14157669926',
61
+ 'ApiVersion' => '2010-04-01',
62
+ 'ApplicationSid' => 'AP44efecad51364e80b133bb7c07eb8204'
63
+ }
64
+ signature = 'oVb2kXoVy8GEfwBDjR8bk/ZZ6eA='
65
+ expect(validator.validate(url, params, signature)).to eq(true)
66
+ end
67
+
68
+ it 'should properly validate a Restcomm SMS request' do
69
+ token = '2bd9e9638872de601313dc77410d3b23'
70
+ validator = Restcomm::Util::RequestValidator.new token
71
+ url = 'http://restcommtests.heroku.com/validate/sms'
72
+ params = {
73
+ 'ToState' => 'CA',
74
+ 'FromState' => 'CA',
75
+ 'AccountSid' => 'ACba8bc05eacf94afdae398e642c9cc32d',
76
+ 'SmsMessageSid' => 'SM2003cbd5e6a3701999aa3e5f20ff2787',
77
+ 'Body' => 'Orly',
78
+ 'From' => '+14159354345',
79
+ 'FromCity' => 'SAN FRANCISCO',
80
+ 'SmsStatus' => 'received',
81
+ 'FromZip' => '94107',
82
+ 'FromCountry' => 'US',
83
+ 'To' => '+14158141819',
84
+ 'ToCity' => 'SAN FRANCISCO',
85
+ 'ToZip' => '94105',
86
+ 'ToCountry' => 'US',
87
+ 'ApiVersion' => '2010-04-01',
88
+ 'SmsSid' => 'SM2003cbd5e6a3701999aa3e5f20ff2787'
89
+ }
90
+ signature = 'mxeiv65lEe0b8L6LdVw2jgJi8yw='
91
+ expect(validator.validate(url, params, signature)).to eq(true)
92
+ end
93
+ end
@@ -0,0 +1,12 @@
1
+ require 'spec_helper'
2
+
3
+ describe Restcomm::Util do
4
+ include Restcomm::Util
5
+
6
+ it 'should parse a Date object' do
7
+ today = Time.now
8
+ url = url_encode('DateSent>' => today)
9
+
10
+ expect(url).to eq("DateSent%3E=#{today.strftime('%Y-%m-%d')}")
11
+ end
12
+ end
metadata ADDED
@@ -0,0 +1,298 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: restcomm-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Andrew Benton
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-03-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: multi_json
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.3.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.3.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: builder
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: 2.1.2
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 2.1.2
46
+ - !ruby/object:Gem::Dependency
47
+ name: jwt
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '1.0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: bundler
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '1.5'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '1.5'
78
+ description: A simple library for communicating with the Restcomm REST API, building
79
+ RCML, and generating Restcomm Client Capability Tokens
80
+ email:
81
+ - andrew@twilio.com
82
+ executables: []
83
+ extensions: []
84
+ extra_rdoc_files:
85
+ - README.md
86
+ - LICENSE.md
87
+ files:
88
+ - AUTHORS.md
89
+ - CHANGES.md
90
+ - Gemfile
91
+ - LICENSE
92
+ - LICENSE.md
93
+ - Makefile
94
+ - README.md
95
+ - Rakefile
96
+ - conf/cacert.pem
97
+ - docs/Makefile
98
+ - docs/_themes/LICENSE
99
+ - docs/_themes/README.rst
100
+ - docs/_themes/flask_theme_support.py
101
+ - docs/_themes/kr/layout.html
102
+ - docs/_themes/kr/relations.html
103
+ - docs/_themes/kr/static/flasky.css_t
104
+ - docs/_themes/kr/static/small_flask.css
105
+ - docs/_themes/kr/theme.conf
106
+ - docs/_themes/kr_small/layout.html
107
+ - docs/_themes/kr_small/static/flasky.css_t
108
+ - docs/_themes/kr_small/theme.conf
109
+ - docs/changelog.rst
110
+ - docs/conf.py
111
+ - docs/faq.rst
112
+ - docs/getting-started.rst
113
+ - docs/index.rst
114
+ - docs/make.bat
115
+ - docs/src/pip-delete-this-directory.txt
116
+ - docs/usage/accounts.rst
117
+ - docs/usage/addresses.rst
118
+ - docs/usage/applications.rst
119
+ - docs/usage/basics.rst
120
+ - docs/usage/caller-ids.rst
121
+ - docs/usage/conferences.rst
122
+ - docs/usage/errors.rst
123
+ - docs/usage/messages.rst
124
+ - docs/usage/notifications.rst
125
+ - docs/usage/phone-calls.rst
126
+ - docs/usage/phone-numbers.rst
127
+ - docs/usage/queues.rst
128
+ - docs/usage/recordings.rst
129
+ - docs/usage/sip.rst
130
+ - docs/usage/token-generation.rst
131
+ - docs/usage/transcriptions.rst
132
+ - docs/usage/twiml.rst
133
+ - docs/usage/validation.rst
134
+ - examples/examples.rb
135
+ - examples/print-call-log.rb
136
+ - lib/rack/restcomm_webhook_authentication.rb
137
+ - lib/restcomm-ruby.rb
138
+ - lib/restcomm-ruby/rest/accounts.rb
139
+ - lib/restcomm-ruby/rest/addresses.rb
140
+ - lib/restcomm-ruby/rest/addresses/dependent_phone_numbers.rb
141
+ - lib/restcomm-ruby/rest/applications.rb
142
+ - lib/restcomm-ruby/rest/authorized_connect_apps.rb
143
+ - lib/restcomm-ruby/rest/available_phone_numbers.rb
144
+ - lib/restcomm-ruby/rest/available_phone_numbers/country.rb
145
+ - lib/restcomm-ruby/rest/available_phone_numbers/local.rb
146
+ - lib/restcomm-ruby/rest/available_phone_numbers/mobile.rb
147
+ - lib/restcomm-ruby/rest/available_phone_numbers/toll_free.rb
148
+ - lib/restcomm-ruby/rest/call_feedback.rb
149
+ - lib/restcomm-ruby/rest/call_feedback_summary.rb
150
+ - lib/restcomm-ruby/rest/calls.rb
151
+ - lib/restcomm-ruby/rest/client.rb
152
+ - lib/restcomm-ruby/rest/conferences.rb
153
+ - lib/restcomm-ruby/rest/conferences/participants.rb
154
+ - lib/restcomm-ruby/rest/connect_apps.rb
155
+ - lib/restcomm-ruby/rest/errors.rb
156
+ - lib/restcomm-ruby/rest/incoming_phone_numbers.rb
157
+ - lib/restcomm-ruby/rest/incoming_phone_numbers/local.rb
158
+ - lib/restcomm-ruby/rest/incoming_phone_numbers/mobile.rb
159
+ - lib/restcomm-ruby/rest/incoming_phone_numbers/toll_free.rb
160
+ - lib/restcomm-ruby/rest/instance_resource.rb
161
+ - lib/restcomm-ruby/rest/list_resource.rb
162
+ - lib/restcomm-ruby/rest/media.rb
163
+ - lib/restcomm-ruby/rest/messages.rb
164
+ - lib/restcomm-ruby/rest/next_gen_list_resource.rb
165
+ - lib/restcomm-ruby/rest/notifications.rb
166
+ - lib/restcomm-ruby/rest/outgoing_caller_ids.rb
167
+ - lib/restcomm-ruby/rest/queues.rb
168
+ - lib/restcomm-ruby/rest/queues/members.rb
169
+ - lib/restcomm-ruby/rest/recordings.rb
170
+ - lib/restcomm-ruby/rest/sandbox.rb
171
+ - lib/restcomm-ruby/rest/sip.rb
172
+ - lib/restcomm-ruby/rest/sip/credential_lists.rb
173
+ - lib/restcomm-ruby/rest/sip/credential_lists/credentials.rb
174
+ - lib/restcomm-ruby/rest/sip/domains.rb
175
+ - lib/restcomm-ruby/rest/sip/domains/credential_list_mappings.rb
176
+ - lib/restcomm-ruby/rest/sip/domains/ip_access_control_list_mappings.rb
177
+ - lib/restcomm-ruby/rest/sip/ip_access_control_lists.rb
178
+ - lib/restcomm-ruby/rest/sip/ip_access_control_lists/ip_addresses.rb
179
+ - lib/restcomm-ruby/rest/sms.rb
180
+ - lib/restcomm-ruby/rest/sms/messages.rb
181
+ - lib/restcomm-ruby/rest/sms/short_codes.rb
182
+ - lib/restcomm-ruby/rest/task_router/activities.rb
183
+ - lib/restcomm-ruby/rest/task_router/events.rb
184
+ - lib/restcomm-ruby/rest/task_router/reservations.rb
185
+ - lib/restcomm-ruby/rest/task_router/task_queues.rb
186
+ - lib/restcomm-ruby/rest/task_router/task_queues_statistics.rb
187
+ - lib/restcomm-ruby/rest/task_router/tasks.rb
188
+ - lib/restcomm-ruby/rest/task_router/workers.rb
189
+ - lib/restcomm-ruby/rest/task_router/workers_statistics.rb
190
+ - lib/restcomm-ruby/rest/task_router/workflow_statistics.rb
191
+ - lib/restcomm-ruby/rest/task_router/workflows.rb
192
+ - lib/restcomm-ruby/rest/task_router/workspace_statistics.rb
193
+ - lib/restcomm-ruby/rest/task_router/workspaces.rb
194
+ - lib/restcomm-ruby/rest/tokens.rb
195
+ - lib/restcomm-ruby/rest/transcriptions.rb
196
+ - lib/restcomm-ruby/rest/usage.rb
197
+ - lib/restcomm-ruby/rest/usage/records.rb
198
+ - lib/restcomm-ruby/rest/usage/triggers.rb
199
+ - lib/restcomm-ruby/rest/utils.rb
200
+ - lib/restcomm-ruby/task_router.rb
201
+ - lib/restcomm-ruby/task_router/capability.rb
202
+ - lib/restcomm-ruby/twiml/response.rb
203
+ - lib/restcomm-ruby/util.rb
204
+ - lib/restcomm-ruby/util/capability.rb
205
+ - lib/restcomm-ruby/util/configuration.rb
206
+ - lib/restcomm-ruby/util/request_validator.rb
207
+ - lib/restcomm-ruby/version.rb
208
+ - restcomm-ruby.gemspec
209
+ - spec/rack/twilio_webhook_authentication_spec.rb
210
+ - spec/rest/account_spec.rb
211
+ - spec/rest/address_spec.rb
212
+ - spec/rest/call_feedback_spec.rb
213
+ - spec/rest/call_feedback_summary_spec.rb
214
+ - spec/rest/call_spec.rb
215
+ - spec/rest/client_spec.rb
216
+ - spec/rest/conference_spec.rb
217
+ - spec/rest/instance_resource_spec.rb
218
+ - spec/rest/message_spec.rb
219
+ - spec/rest/numbers_spec.rb
220
+ - spec/rest/queue_spec.rb
221
+ - spec/rest/recording_spec.rb
222
+ - spec/rest/sms/message_spec.rb
223
+ - spec/rest/sms/messages_spec.rb
224
+ - spec/rest/task_router/reservation_spec.rb
225
+ - spec/rest/task_router/task_queue_spec.rb
226
+ - spec/rest/token_spec.rb
227
+ - spec/rest/utils_spec.rb
228
+ - spec/spec_helper.rb
229
+ - spec/support/fakeweb.rb
230
+ - spec/task_router_spec.rb
231
+ - spec/twilio_spec.rb
232
+ - spec/util/capability_spec.rb
233
+ - spec/util/configuration_spec.rb
234
+ - spec/util/request_validator_spec.rb
235
+ - spec/util/url_encode_spec.rb
236
+ homepage: http://github.com/restcomm/restcomm-ruby
237
+ licenses:
238
+ - MIT
239
+ post_install_message:
240
+ rdoc_options:
241
+ - --line-numbers
242
+ - --inline-source
243
+ - --title
244
+ - restcomm-ruby
245
+ - --main
246
+ - README.md
247
+ require_paths:
248
+ - lib
249
+ required_ruby_version: !ruby/object:Gem::Requirement
250
+ none: false
251
+ requirements:
252
+ - - ! '>='
253
+ - !ruby/object:Gem::Version
254
+ version: 1.9.3
255
+ required_rubygems_version: !ruby/object:Gem::Requirement
256
+ none: false
257
+ requirements:
258
+ - - ! '>='
259
+ - !ruby/object:Gem::Version
260
+ version: '0'
261
+ segments:
262
+ - 0
263
+ hash: -714380754024375497
264
+ requirements: []
265
+ rubyforge_project:
266
+ rubygems_version: 1.8.25
267
+ signing_key:
268
+ specification_version: 3
269
+ summary: A simple library for communicating with the Restcomm REST API, building RCML,
270
+ and generating Restcomm Client Capability Tokens
271
+ test_files:
272
+ - spec/rack/twilio_webhook_authentication_spec.rb
273
+ - spec/rest/account_spec.rb
274
+ - spec/rest/address_spec.rb
275
+ - spec/rest/call_feedback_spec.rb
276
+ - spec/rest/call_feedback_summary_spec.rb
277
+ - spec/rest/call_spec.rb
278
+ - spec/rest/client_spec.rb
279
+ - spec/rest/conference_spec.rb
280
+ - spec/rest/instance_resource_spec.rb
281
+ - spec/rest/message_spec.rb
282
+ - spec/rest/numbers_spec.rb
283
+ - spec/rest/queue_spec.rb
284
+ - spec/rest/recording_spec.rb
285
+ - spec/rest/sms/message_spec.rb
286
+ - spec/rest/sms/messages_spec.rb
287
+ - spec/rest/task_router/reservation_spec.rb
288
+ - spec/rest/task_router/task_queue_spec.rb
289
+ - spec/rest/token_spec.rb
290
+ - spec/rest/utils_spec.rb
291
+ - spec/spec_helper.rb
292
+ - spec/support/fakeweb.rb
293
+ - spec/task_router_spec.rb
294
+ - spec/twilio_spec.rb
295
+ - spec/util/capability_spec.rb
296
+ - spec/util/configuration_spec.rb
297
+ - spec/util/request_validator_spec.rb
298
+ - spec/util/url_encode_spec.rb