twilio_with_thinq 0.1.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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 28c4f71407091e746e0e6f389f1f06ba53ece2c0
4
+ data.tar.gz: 61965ce994853f68b3a523306d6d6cc17db049d9
5
+ SHA512:
6
+ metadata.gz: c38bbfe8718f7ada4b7aa14803cc2e3e742c60faf659705b095c69ceeff03f7b179f1d7417570ff5d557decd8a9092ae11cb9c98da4198b580aef66d2c518e67
7
+ data.tar.gz: 81eddfe84985230d0614906a63c27a332f27167ba7be0bcacf52d5b713f641c579a4beaf37ce85908924a6d2851cd7d25b9eb1b1c5799798a9ab57701e31d21f
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.idea/.name ADDED
@@ -0,0 +1 @@
1
+ twilio_with_thinq
data/.idea/.rakeTasks ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Settings><!--This file was automatically generated by Ruby plugin.
3
+ You are allowed to:
4
+ 1. Remove rake task
5
+ 2. Add existing rake tasks
6
+ To add existing rake tasks automatically delete this file and reload the project.
7
+ --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build twilio_with_thinq-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install twilio_with_thinq-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install twilio_with_thinq-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push twilio_with_thinq-0.1.0.gem to Rubygems" fullCmd="release" taksId="release" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
data/.idea/misc.xml ADDED
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
4
+ <OptionsSetting value="true" id="Add" />
5
+ <OptionsSetting value="true" id="Remove" />
6
+ <OptionsSetting value="true" id="Checkout" />
7
+ <OptionsSetting value="true" id="Update" />
8
+ <OptionsSetting value="true" id="Status" />
9
+ <OptionsSetting value="true" id="Edit" />
10
+ <ConfirmationsSetting value="0" id="Add" />
11
+ <ConfirmationsSetting value="0" id="Remove" />
12
+ </component>
13
+ <component name="ProjectRootManager" version="2" project-jdk-name="rbenv: 2.2.0" project-jdk-type="RUBY_SDK" />
14
+ </project>
data/.idea/modules.xml ADDED
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/twilio_with_thinq.iml" filepath="$PROJECT_DIR$/.idea/twilio_with_thinq.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,45 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="gem" name="Ruby Gem">
5
+ <configuration>
6
+ <option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
7
+ <option name="GEM_APP_TEST_PATH" value="" />
8
+ <option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
9
+ </configuration>
10
+ </facet>
11
+ </component>
12
+ <component name="ModuleRunConfigurationManager">
13
+ <configuration default="false" name="release: twilio_with_thinq" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
14
+ <module name="twilio_with_thinq" />
15
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
16
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
17
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
18
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
19
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
20
+ <envs />
21
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
22
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
23
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
24
+ <COVERAGE_PATTERN ENABLED="true">
25
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
26
+ </COVERAGE_PATTERN>
27
+ </EXTENSION>
28
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
29
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="release" />
30
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
31
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
32
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
33
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
34
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
35
+ <method />
36
+ </configuration>
37
+ </component>
38
+ <component name="NewModuleRootManager">
39
+ <content url="file://$MODULE_DIR$" />
40
+ <orderEntry type="inheritedJdk" />
41
+ <orderEntry type="sourceFolder" forTests="false" />
42
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.10.5, rbenv: 2.2.0) [gem]" level="application" />
43
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, rbenv: 2.2.0) [gem]" level="application" />
44
+ </component>
45
+ </module>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,516 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="f67e4e42-e2e8-480f-818f-bfda87f4de83" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/twilio_with_thinq.gemspec" afterPath="$PROJECT_DIR$/twilio_with_thinq.gemspec" />
6
+ </list>
7
+ <ignored path="twilio_with_thinq.iws" />
8
+ <ignored path=".idea/workspace.xml" />
9
+ <ignored path=".idea/dataSources.local.xml" />
10
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
11
+ <option name="TRACKING_ENABLED" value="true" />
12
+ <option name="SHOW_DIALOG" value="false" />
13
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
14
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
15
+ <option name="LAST_RESOLUTION" value="IGNORE" />
16
+ </component>
17
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
18
+ <component name="CoverageDataManager">
19
+ <SUITE FILE_PATH="coverage/twilio_with_thinq@release__twilio_with_thinq.coverage" NAME="release: twilio_with_thinq Coverage Results" MODIFIED="1441815119728" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="twilio_with_thinq" />
20
+ </component>
21
+ <component name="CreatePatchCommitExecutor">
22
+ <option name="PATCH_PATH" value="" />
23
+ </component>
24
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
25
+ <component name="FavoritesManager">
26
+ <favorites_list name="twilio_with_thinq" />
27
+ </component>
28
+ <component name="FileEditorManager">
29
+ <leaf>
30
+ <file leaf-file-name="twilio_with_thinq.gemspec" pinned="false" current-in-tab="true">
31
+ <entry file="file://$PROJECT_DIR$/twilio_with_thinq.gemspec">
32
+ <provider selected="true" editor-type-id="text-editor">
33
+ <state vertical-scroll-proportion="0.45072994">
34
+ <caret line="13" column="67" selection-start-line="13" selection-start-column="67" selection-end-line="13" selection-end-column="67" />
35
+ <folding />
36
+ </state>
37
+ </provider>
38
+ </entry>
39
+ </file>
40
+ <file leaf-file-name="twilio_with_thinq.rb" pinned="false" current-in-tab="false">
41
+ <entry file="file://$PROJECT_DIR$/lib/twilio_with_thinq.rb">
42
+ <provider selected="true" editor-type-id="text-editor">
43
+ <state vertical-scroll-proportion="0.0">
44
+ <caret line="38" column="0" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
45
+ <folding />
46
+ </state>
47
+ </provider>
48
+ </entry>
49
+ </file>
50
+ <file leaf-file-name="spec_helper.rb" pinned="false" current-in-tab="false">
51
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
52
+ <provider selected="true" editor-type-id="text-editor">
53
+ <state vertical-scroll-proportion="0.0">
54
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
55
+ <folding />
56
+ </state>
57
+ </provider>
58
+ </entry>
59
+ </file>
60
+ <file leaf-file-name="twilio_with_thinq_spec.rb" pinned="false" current-in-tab="false">
61
+ <entry file="file://$PROJECT_DIR$/spec/twilio_with_thinq_spec.rb">
62
+ <provider selected="true" editor-type-id="text-editor">
63
+ <state vertical-scroll-proportion="0.0">
64
+ <caret line="8" column="0" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
65
+ <folding />
66
+ </state>
67
+ </provider>
68
+ </entry>
69
+ </file>
70
+ <file leaf-file-name="console" pinned="false" current-in-tab="false">
71
+ <entry file="file://$PROJECT_DIR$/bin/console">
72
+ <provider selected="true" editor-type-id="text-editor">
73
+ <state vertical-scroll-proportion="0.0">
74
+ <caret line="13" column="9" selection-start-line="13" selection-start-column="9" selection-end-line="13" selection-end-column="9" />
75
+ <folding />
76
+ </state>
77
+ </provider>
78
+ </entry>
79
+ </file>
80
+ </leaf>
81
+ </component>
82
+ <component name="Git.Settings">
83
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
84
+ </component>
85
+ <component name="IdeDocumentHistory">
86
+ <option name="CHANGED_PATHS">
87
+ <list>
88
+ <option value="$PROJECT_DIR$/spec/twilio_with_thinq_spec.rb" />
89
+ <option value="$PROJECT_DIR$/lib/twilio_with_thinq.rb" />
90
+ <option value="$PROJECT_DIR$/twilio_with_thinq.gemspec" />
91
+ </list>
92
+ </option>
93
+ </component>
94
+ <component name="JsBuildToolGruntFileManager" detection-done="true" />
95
+ <component name="JsGulpfileManager">
96
+ <detection-done>true</detection-done>
97
+ </component>
98
+ <component name="NamedScopeManager">
99
+ <order />
100
+ </component>
101
+ <component name="ProjectFrameBounds">
102
+ <option name="x" value="73" />
103
+ <option name="y" value="23" />
104
+ <option name="width" value="1769" />
105
+ <option name="height" value="977" />
106
+ </component>
107
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
108
+ <OptionsSetting value="true" id="Add" />
109
+ <OptionsSetting value="true" id="Remove" />
110
+ <OptionsSetting value="true" id="Checkout" />
111
+ <OptionsSetting value="true" id="Update" />
112
+ <OptionsSetting value="true" id="Status" />
113
+ <OptionsSetting value="true" id="Edit" />
114
+ <ConfirmationsSetting value="0" id="Add" />
115
+ <ConfirmationsSetting value="0" id="Remove" />
116
+ </component>
117
+ <component name="ProjectView">
118
+ <navigator currentView="ProjectPane" proportions="" version="1">
119
+ <flattenPackages />
120
+ <showMembers />
121
+ <showModules />
122
+ <showLibraryContents />
123
+ <hideEmptyPackages />
124
+ <abbreviatePackageNames />
125
+ <autoscrollToSource />
126
+ <autoscrollFromSource />
127
+ <sortByType />
128
+ </navigator>
129
+ <panes>
130
+ <pane id="Scope" />
131
+ <pane id="ProjectPane">
132
+ <subPane>
133
+ <PATH>
134
+ <PATH_ELEMENT>
135
+ <option name="myItemId" value="twilio_with_thinq" />
136
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
137
+ </PATH_ELEMENT>
138
+ </PATH>
139
+ <PATH>
140
+ <PATH_ELEMENT>
141
+ <option name="myItemId" value="twilio_with_thinq" />
142
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
143
+ </PATH_ELEMENT>
144
+ <PATH_ELEMENT>
145
+ <option name="myItemId" value="twilio_with_thinq" />
146
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
147
+ </PATH_ELEMENT>
148
+ </PATH>
149
+ <PATH>
150
+ <PATH_ELEMENT>
151
+ <option name="myItemId" value="twilio_with_thinq" />
152
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
153
+ </PATH_ELEMENT>
154
+ <PATH_ELEMENT>
155
+ <option name="myItemId" value="twilio_with_thinq" />
156
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
157
+ </PATH_ELEMENT>
158
+ <PATH_ELEMENT>
159
+ <option name="myItemId" value="spec" />
160
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
161
+ </PATH_ELEMENT>
162
+ </PATH>
163
+ <PATH>
164
+ <PATH_ELEMENT>
165
+ <option name="myItemId" value="twilio_with_thinq" />
166
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
167
+ </PATH_ELEMENT>
168
+ <PATH_ELEMENT>
169
+ <option name="myItemId" value="twilio_with_thinq" />
170
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
171
+ </PATH_ELEMENT>
172
+ <PATH_ELEMENT>
173
+ <option name="myItemId" value="pkg" />
174
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
175
+ </PATH_ELEMENT>
176
+ </PATH>
177
+ <PATH>
178
+ <PATH_ELEMENT>
179
+ <option name="myItemId" value="twilio_with_thinq" />
180
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
181
+ </PATH_ELEMENT>
182
+ <PATH_ELEMENT>
183
+ <option name="myItemId" value="twilio_with_thinq" />
184
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
185
+ </PATH_ELEMENT>
186
+ <PATH_ELEMENT>
187
+ <option name="myItemId" value="lib" />
188
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
189
+ </PATH_ELEMENT>
190
+ </PATH>
191
+ <PATH>
192
+ <PATH_ELEMENT>
193
+ <option name="myItemId" value="twilio_with_thinq" />
194
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
195
+ </PATH_ELEMENT>
196
+ <PATH_ELEMENT>
197
+ <option name="myItemId" value="twilio_with_thinq" />
198
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
199
+ </PATH_ELEMENT>
200
+ <PATH_ELEMENT>
201
+ <option name="myItemId" value="lib" />
202
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
203
+ </PATH_ELEMENT>
204
+ <PATH_ELEMENT>
205
+ <option name="myItemId" value="twilio_with_thinq" />
206
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
207
+ </PATH_ELEMENT>
208
+ </PATH>
209
+ <PATH>
210
+ <PATH_ELEMENT>
211
+ <option name="myItemId" value="twilio_with_thinq" />
212
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
213
+ </PATH_ELEMENT>
214
+ <PATH_ELEMENT>
215
+ <option name="myItemId" value="twilio_with_thinq" />
216
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
217
+ </PATH_ELEMENT>
218
+ <PATH_ELEMENT>
219
+ <option name="myItemId" value="bin" />
220
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
221
+ </PATH_ELEMENT>
222
+ </PATH>
223
+ </subPane>
224
+ </pane>
225
+ <pane id="Scratches" />
226
+ </panes>
227
+ </component>
228
+ <component name="PropertiesComponent">
229
+ <property name="last_opened_file_path" value="$PROJECT_DIR$" />
230
+ <property name="WebServerToolWindowFactoryState" value="false" />
231
+ <property name="settings.editor.selected.configurable" value="preferences.lookFeel" />
232
+ <property name="settings.editor.splitter.proportion" value="0.2" />
233
+ <property name="RakeTaksPopup.undocumentedIncluded" value="false" />
234
+ <property name="recentsLimit" value="5" />
235
+ </component>
236
+ <component name="RunManager" selected="Rake.release: twilio_with_thinq">
237
+ <configuration default="false" name="release: twilio_with_thinq" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
238
+ <module name="twilio_with_thinq" />
239
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
240
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
241
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
242
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
243
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
244
+ <envs />
245
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
246
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
247
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
248
+ <COVERAGE_PATTERN ENABLED="true">
249
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
250
+ </COVERAGE_PATTERN>
251
+ </EXTENSION>
252
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
253
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="release" />
254
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
255
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
256
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
257
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
258
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
259
+ <method />
260
+ </configuration>
261
+ <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
262
+ <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
263
+ <module name="" />
264
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
265
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
266
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
267
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
268
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
269
+ <envs />
270
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
271
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
272
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
273
+ <COVERAGE_PATTERN ENABLED="true">
274
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
275
+ </COVERAGE_PATTERN>
276
+ </EXTENSION>
277
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
278
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
279
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
280
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
281
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
282
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
283
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
284
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
285
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
286
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
287
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
288
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
289
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
290
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
291
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
292
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
293
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
294
+ <method />
295
+ </configuration>
296
+ <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
297
+ <method />
298
+ </configuration>
299
+ <configuration default="true" type="RakeRunConfigurationType" factoryName="Rake">
300
+ <module name="" />
301
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
302
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
303
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
304
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
305
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
306
+ <envs />
307
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
308
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
309
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
310
+ <COVERAGE_PATTERN ENABLED="true">
311
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
312
+ </COVERAGE_PATTERN>
313
+ </EXTENSION>
314
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
315
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="" />
316
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
317
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
318
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
319
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
320
+ <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
321
+ <method />
322
+ </configuration>
323
+ <configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
324
+ <module name="" />
325
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
326
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
327
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
328
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
329
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
330
+ <envs />
331
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
332
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
333
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
334
+ <COVERAGE_PATTERN ENABLED="true">
335
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
336
+ </COVERAGE_PATTERN>
337
+ </EXTENSION>
338
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
339
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
340
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
341
+ <method />
342
+ </configuration>
343
+ <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
344
+ <method />
345
+ </configuration>
346
+ <list size="1">
347
+ <item index="0" class="java.lang.String" itemvalue="Rake.release: twilio_with_thinq" />
348
+ </list>
349
+ <recent_temporary>
350
+ <list size="1">
351
+ <item index="0" class="java.lang.String" itemvalue="Rake.release: twilio_with_thinq" />
352
+ </list>
353
+ </recent_temporary>
354
+ </component>
355
+ <component name="ShelveChangesManager" show_recycled="false" />
356
+ <component name="SvnConfiguration">
357
+ <configuration />
358
+ </component>
359
+ <component name="TaskManager">
360
+ <task active="true" id="Default" summary="Default task">
361
+ <changelist id="f67e4e42-e2e8-480f-818f-bfda87f4de83" name="Default" comment="" />
362
+ <created>1441789371163</created>
363
+ <option name="number" value="Default" />
364
+ <updated>1441789371163</updated>
365
+ </task>
366
+ <servers />
367
+ </component>
368
+ <component name="ToolWindowManager">
369
+ <frame x="73" y="23" width="1769" height="977" extended-state="0" />
370
+ <editor active="true" />
371
+ <layout>
372
+ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
373
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
374
+ <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
375
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
376
+ <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
377
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.22292994" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
378
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
379
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32945284" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
380
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
381
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
382
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
383
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
384
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
385
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
386
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
387
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
388
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
389
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
390
+ </layout>
391
+ </component>
392
+ <component name="VcsContentAnnotationSettings">
393
+ <option name="myLimit" value="2678400000" />
394
+ </component>
395
+ <component name="XDebuggerManager">
396
+ <breakpoint-manager />
397
+ <watches-manager />
398
+ </component>
399
+ <component name="editorHistoryManager">
400
+ <entry file="file://$PROJECT_DIR$/README.md">
401
+ <provider selected="true" editor-type-id="text-editor">
402
+ <state vertical-scroll-proportion="0.27262694">
403
+ <caret line="13" column="0" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
404
+ <folding />
405
+ </state>
406
+ </provider>
407
+ </entry>
408
+ <entry file="file://$PROJECT_DIR$/Rakefile">
409
+ <provider selected="true" editor-type-id="text-editor">
410
+ <state vertical-scroll-proportion="0.12582782">
411
+ <caret line="6" column="0" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
412
+ <folding />
413
+ </state>
414
+ </provider>
415
+ </entry>
416
+ <entry file="file://$PROJECT_DIR$/LICENSE.txt">
417
+ <provider selected="true" editor-type-id="text-editor">
418
+ <state vertical-scroll-proportion="0.0">
419
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
420
+ <folding />
421
+ </state>
422
+ </provider>
423
+ <provider editor-type-id="com.intellij.database.editor.CsvTableFileEditorProvider">
424
+ <state />
425
+ </provider>
426
+ </entry>
427
+ <entry file="file://$PROJECT_DIR$/Gemfile">
428
+ <provider selected="true" editor-type-id="text-editor">
429
+ <state vertical-scroll-proportion="0.0">
430
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
431
+ <folding />
432
+ </state>
433
+ </provider>
434
+ </entry>
435
+ <entry file="file://$PROJECT_DIR$/.travis.yml">
436
+ <provider selected="true" editor-type-id="text-editor">
437
+ <state vertical-scroll-proportion="0.0">
438
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
439
+ <folding />
440
+ </state>
441
+ </provider>
442
+ </entry>
443
+ <entry file="file://$PROJECT_DIR$/.rspec">
444
+ <provider selected="true" editor-type-id="text-editor">
445
+ <state vertical-scroll-proportion="0.0">
446
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
447
+ <folding />
448
+ </state>
449
+ </provider>
450
+ </entry>
451
+ <entry file="file://$PROJECT_DIR$/.gitignore">
452
+ <provider selected="true" editor-type-id="text-editor">
453
+ <state vertical-scroll-proportion="0.0">
454
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
455
+ <folding />
456
+ </state>
457
+ </provider>
458
+ </entry>
459
+ <entry file="file://$PROJECT_DIR$/Gemfile.lock">
460
+ <provider selected="true" editor-type-id="text-editor">
461
+ <state vertical-scroll-proportion="0.39845476">
462
+ <caret line="19" column="30" selection-start-line="19" selection-start-column="30" selection-end-line="19" selection-end-column="30" />
463
+ <folding />
464
+ </state>
465
+ </provider>
466
+ </entry>
467
+ <entry file="file://$PROJECT_DIR$/lib/twilio_with_thinq/version.rb">
468
+ <provider selected="true" editor-type-id="text-editor">
469
+ <state vertical-scroll-proportion="0.0">
470
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
471
+ <folding />
472
+ </state>
473
+ </provider>
474
+ </entry>
475
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
476
+ <provider selected="true" editor-type-id="text-editor">
477
+ <state vertical-scroll-proportion="0.0">
478
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
479
+ <folding />
480
+ </state>
481
+ </provider>
482
+ </entry>
483
+ <entry file="file://$PROJECT_DIR$/spec/twilio_with_thinq_spec.rb">
484
+ <provider selected="true" editor-type-id="text-editor">
485
+ <state vertical-scroll-proportion="0.0">
486
+ <caret line="8" column="0" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
487
+ <folding />
488
+ </state>
489
+ </provider>
490
+ </entry>
491
+ <entry file="file://$PROJECT_DIR$/bin/console">
492
+ <provider selected="true" editor-type-id="text-editor">
493
+ <state vertical-scroll-proportion="0.0">
494
+ <caret line="13" column="9" selection-start-line="13" selection-start-column="9" selection-end-line="13" selection-end-column="9" />
495
+ <folding />
496
+ </state>
497
+ </provider>
498
+ </entry>
499
+ <entry file="file://$PROJECT_DIR$/lib/twilio_with_thinq.rb">
500
+ <provider selected="true" editor-type-id="text-editor">
501
+ <state vertical-scroll-proportion="0.0">
502
+ <caret line="38" column="0" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
503
+ <folding />
504
+ </state>
505
+ </provider>
506
+ </entry>
507
+ <entry file="file://$PROJECT_DIR$/twilio_with_thinq.gemspec">
508
+ <provider selected="true" editor-type-id="text-editor">
509
+ <state vertical-scroll-proportion="0.45072994">
510
+ <caret line="13" column="67" selection-start-line="13" selection-start-column="67" selection-end-line="13" selection-end-column="67" />
511
+ <folding />
512
+ </state>
513
+ </provider>
514
+ </entry>
515
+ </component>
516
+ </project>
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ before_install: gem install bundler -v 1.10.5
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in twilio_with_thinq.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Cris Wong
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # TwilioWithThinq
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/twilio_with_thinq`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'twilio_with_thinq'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install twilio_with_thinq
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/twilio_with_thinq.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "twilio_with_thinq"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,3 @@
1
+ module TwilioWithThinq
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,41 @@
1
+ require "twilio_with_thinq/version"
2
+ require "twilio-ruby"
3
+
4
+ module TwilioWithThinq
5
+
6
+ # The main twilio wrapper class that inegrates thinQ.
7
+ class TwilioWrapper
8
+ TWIML_RESOURCE_URL = "http://cris.viralearnings.com/twiml/get_response"
9
+
10
+ attr_accessor :client, :customer_number, :twilio_account_sid, :twilio_account_token, :twilio_phone_number, :callback_type, :callback_details
11
+
12
+ def initialize(customer_number, twilio_account_sid, twilio_account_token, twilio_phone_number)
13
+ @customer_number = customer_number
14
+ @twilio_account_sid = twilio_account_sid
15
+ @twilio_account_token = twilio_account_token
16
+ @twilio_phone_number = twilio_phone_number
17
+
18
+ @client = Twilio::REST::Client.new twilio_account_sid, twilio_account_token
19
+ end
20
+
21
+ def isClientValid?
22
+ !@client.nil? and !@client.account.nil?
23
+ end
24
+
25
+ def call
26
+ if !self.isClientValid?
27
+ return "Invalid Twilio Account details."
28
+ end
29
+
30
+ begin
31
+ @call = @client.account.calls.create({:to => @customer_number,
32
+ :from => @twilio_phone_number,
33
+ :url => TWIML_RESOURCE_URL})
34
+ return @call.sid
35
+ rescue Exception => e
36
+ return e.message
37
+ end
38
+ end
39
+
40
+ end
41
+ end
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'twilio_with_thinq/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "twilio_with_thinq"
8
+ spec.version = TwilioWithThinq::VERSION
9
+ spec.authors = ["Fujio Harou"]
10
+ spec.email = ["harouf@outlook.com"]
11
+
12
+ spec.summary = %q{Twilio Wrapper Library For thinQ LCR integration.}
13
+ spec.description = %q{Twilio Wrapper Library is just written for the purpose to bring a new level of ease to the developers who deal with Twilio integration with [thinQ LCR](http://www.thinq.com/lcr/) system.}
14
+ spec.homepage = "https://github.com/harouf/twilio-thinq-ruby"
15
+ spec.license = "MIT"
16
+
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
+ spec.bindir = "bin"
20
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_dependency "twilio-ruby"
24
+ spec.add_development_dependency "bundler", "~> 1.10"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec"
27
+ end
metadata ADDED
@@ -0,0 +1,123 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: twilio_with_thinq
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Fujio Harou
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-09-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: twilio-ruby
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Twilio Wrapper Library is just written for the purpose to bring a new
70
+ level of ease to the developers who deal with Twilio integration with [thinQ LCR](http://www.thinq.com/lcr/)
71
+ system.
72
+ email:
73
+ - harouf@outlook.com
74
+ executables:
75
+ - console
76
+ - setup
77
+ extensions: []
78
+ extra_rdoc_files: []
79
+ files:
80
+ - .gitignore
81
+ - .idea/.name
82
+ - .idea/.rakeTasks
83
+ - .idea/misc.xml
84
+ - .idea/modules.xml
85
+ - .idea/twilio_with_thinq.iml
86
+ - .idea/vcs.xml
87
+ - .idea/workspace.xml
88
+ - .rspec
89
+ - .travis.yml
90
+ - Gemfile
91
+ - LICENSE.txt
92
+ - README.md
93
+ - Rakefile
94
+ - bin/console
95
+ - bin/setup
96
+ - lib/twilio_with_thinq.rb
97
+ - lib/twilio_with_thinq/version.rb
98
+ - twilio_with_thinq.gemspec
99
+ homepage: https://github.com/harouf/twilio-thinq-ruby
100
+ licenses:
101
+ - MIT
102
+ metadata: {}
103
+ post_install_message:
104
+ rdoc_options: []
105
+ require_paths:
106
+ - lib
107
+ required_ruby_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - '>='
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ required_rubygems_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - '>='
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ requirements: []
118
+ rubyforge_project:
119
+ rubygems_version: 2.0.14
120
+ signing_key:
121
+ specification_version: 4
122
+ summary: Twilio Wrapper Library For thinQ LCR integration.
123
+ test_files: []