twilio-ruby 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/twilio-ruby/rest/client.rb +1 -1
- data/lib/twilio-ruby.rb +27 -1
- metadata +4 -4
@@ -21,7 +21,7 @@ module Twilio
|
|
21
21
|
uri += '.json'
|
22
22
|
params = (args[0] && args[0] != {}) ? twilify(args[0]) : nil
|
23
23
|
uri += "?#{url_encode(params)}" if params && method == :get
|
24
|
-
request = method_class.new uri, 'User-Agent' => 'twilio-ruby/0.3.
|
24
|
+
request = method_class.new uri, 'User-Agent' => 'twilio-ruby/0.3.2'
|
25
25
|
request.basic_auth @account_sid, @auth_token
|
26
26
|
request.form_data = params if params && [:post, :put].include?(method)
|
27
27
|
http_response = @connection.request request
|
data/lib/twilio-ruby.rb
CHANGED
@@ -10,6 +10,32 @@ require 'base64'
|
|
10
10
|
require 'twilio-ruby/rest/utils'
|
11
11
|
require 'twilio-ruby/rest/list_resource'
|
12
12
|
require 'twilio-ruby/rest/instance_resource'
|
13
|
-
|
13
|
+
require 'twilio-ruby/rest/sandbox/sandbox'
|
14
|
+
require 'twilio-ruby/rest/accounts/account'
|
15
|
+
require 'twilio-ruby/rest/accounts/accounts'
|
16
|
+
require 'twilio-ruby/rest/calls/call'
|
17
|
+
require 'twilio-ruby/rest/calls/calls'
|
18
|
+
require 'twilio-ruby/rest/sms/sms'
|
19
|
+
require 'twilio-ruby/rest/sms/message'
|
20
|
+
require 'twilio-ruby/rest/sms/messages'
|
21
|
+
require 'twilio-ruby/rest/outgoing_caller_ids/outgoing_caller_id'
|
22
|
+
require 'twilio-ruby/rest/outgoing_caller_ids/outgoing_caller_ids'
|
23
|
+
require 'twilio-ruby/rest/incoming_phone_numbers/incoming_phone_number'
|
24
|
+
require 'twilio-ruby/rest/incoming_phone_numbers/incoming_phone_numbers'
|
25
|
+
require 'twilio-ruby/rest/available_phone_numbers/available_phone_number'
|
26
|
+
require 'twilio-ruby/rest/available_phone_numbers/available_phone_numbers'
|
27
|
+
require 'twilio-ruby/rest/available_phone_numbers/country'
|
28
|
+
require 'twilio-ruby/rest/available_phone_numbers/local'
|
29
|
+
require 'twilio-ruby/rest/available_phone_numbers/toll_free'
|
30
|
+
require 'twilio-ruby/rest/conferences/conference'
|
31
|
+
require 'twilio-ruby/rest/conferences/conferences'
|
32
|
+
require 'twilio-ruby/rest/conferences/participant'
|
33
|
+
require 'twilio-ruby/rest/conferences/participants'
|
34
|
+
require 'twilio-ruby/rest/recordings/recording'
|
35
|
+
require 'twilio-ruby/rest/recordings/recordings'
|
36
|
+
require 'twilio-ruby/rest/transcriptions/transcription'
|
37
|
+
require 'twilio-ruby/rest/transcriptions/transcriptions'
|
38
|
+
require 'twilio-ruby/rest/notifications/notification'
|
39
|
+
require 'twilio-ruby/rest/notifications/notifications'
|
14
40
|
require 'twilio-ruby/rest/client'
|
15
41
|
require 'twilio-ruby/twiml/response'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twilio-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 2
|
10
|
+
version: 0.3.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrew Benton
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-03-
|
18
|
+
date: 2011-03-28 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|