twilio-ruby 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/twilio-ruby/client.rb +0 -2
- metadata +3 -3
data/lib/twilio-ruby/client.rb
CHANGED
@@ -23,8 +23,6 @@ module Twilio
|
|
23
23
|
request = method_class.new uri
|
24
24
|
request.basic_auth @account_sid, @auth_token
|
25
25
|
request.form_data = params if params && [:post, :put].include?(method)
|
26
|
-
puts "DEBUG: Request Path ==> "+request.path
|
27
|
-
puts "DEBUG: Request Body ==> "+request.body if request.body
|
28
26
|
http_response = @connection.request request
|
29
27
|
object = Crack::JSON.parse http_response.body if http_response.body
|
30
28
|
raise object['message'] unless http_response.kind_of? Net::HTTPSuccess
|
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
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrew Benton
|