twilio-ruby 5.0.0.rc2 → 5.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -7
- data/lib/twilio-ruby/framework/page.rb +2 -2
- data/lib/twilio-ruby/http/http_client.rb +0 -2
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 486d5d886f8cc875362ba4b5e52ecdb877f35e91
|
4
|
+
data.tar.gz: b65531444aa68c9754213eb0ad58523099a9fc82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5540cd5060ad208b4889473622a926aa701b7c079c9d8cfa9285f6971244fb6afc61295d09fb319b8a9e833be996df7cb469078b31006de637fea80554d43d22
|
7
|
+
data.tar.gz: 1e5d8223a889d0bb9d9f330615c4d6793c296a3ebad19cbef50788a8da5116b9062b73945ace84c0022a32611f5186b1ea64c162d98a56f0655795c36eb4e411
|
data/README.md
CHANGED
@@ -161,13 +161,6 @@ implementations:
|
|
161
161
|
- [JRuby][jruby]
|
162
162
|
- [Rubinius][rubinius]
|
163
163
|
|
164
|
-
## Getting help
|
165
|
-
|
166
|
-
If you need help installing or using the library, please contact Twilio Support at help@twilio.com first. Twilio's Support staff are well-versed in all of the Twilio Helper Libraries, and usually reply within 24 hours.
|
167
|
-
|
168
|
-
If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!
|
169
|
-
|
170
|
-
|
171
164
|
[capability]: https://github.com/twilio/twilio-ruby/wiki/Capability
|
172
165
|
[builder]: http://builder.rubyforge.org/
|
173
166
|
[examples]: https://github.com/twilio/twilio-ruby/blob/master/examples
|
@@ -50,7 +50,7 @@ module Twilio
|
|
50
50
|
|
51
51
|
def previous_page_url
|
52
52
|
if @payload['meta'] && @payload['meta']['previous_page_url']
|
53
|
-
return URI.parse(@payload['meta']['previous_page_url']).
|
53
|
+
return URI.parse(@payload['meta']['previous_page_url']).request_uri
|
54
54
|
elsif @payload['previous_page_uri']
|
55
55
|
return @payload['previous_page_uri']
|
56
56
|
end
|
@@ -60,7 +60,7 @@ module Twilio
|
|
60
60
|
|
61
61
|
def next_page_url
|
62
62
|
if @payload['meta'] && @payload['meta']['next_page_url']
|
63
|
-
return URI.parse(@payload['meta']['next_page_url']).
|
63
|
+
return URI.parse(@payload['meta']['next_page_url']).request_uri
|
64
64
|
elsif @payload['next_page_uri']
|
65
65
|
return @payload['next_page_uri']
|
66
66
|
end
|
@@ -15,8 +15,6 @@ module Twilio
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def request(host, port, method, url, params={}, data={}, headers={}, auth=nil, timeout=nil)
|
18
|
-
puts host
|
19
|
-
puts url
|
20
18
|
@connection = Faraday.new(url: host + ":" + port.to_s, ssl: {verify: true}) do |f|
|
21
19
|
f.request :url_encoded
|
22
20
|
f.adapter @adapter
|
data/lib/twilio-ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twilio-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.0.
|
4
|
+
version: 5.0.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Benton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|