messagebird-rest 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/messagebird.rb +1 -1
- data/lib/messagebird/client.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fef609127e904a092153ab2dc6e80cd6a775b7d0
|
4
|
+
data.tar.gz: c75c619d065f6e551e9d875098d089915da4bcd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ed9a42b17dfbdfe55a6b8c2a88218b48001edb8764e748b42e5777406f5fe5d8ce9bd60ebf7801461f8211eecd46e481645c9c068ab59c1dd1ead037a5b07c
|
7
|
+
data.tar.gz: 8dcca59dca9154927d34ebb5dfcb4b1104427c8dc50fc9b1de7f969583a5a6d536ca3042bc41df4c7c22fd51216f0ab4fc26212b79c6196aa2e8c47344878035
|
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
MessageBird's REST API for Ruby
|
2
2
|
===============================
|
3
|
-
This repository contains the open source Ruby client for MessageBird's REST API. Documentation can be found at: https://
|
3
|
+
This repository contains the open source Ruby client for MessageBird's REST API. Documentation can be found at: https://developers.messagebird.com/
|
4
4
|
|
5
5
|
Requirements
|
6
6
|
------------
|
7
7
|
- [Sign up](https://www.messagebird.com/en/signup) for a free MessageBird account
|
8
|
-
- Create a new access_key in the developers sections
|
8
|
+
- Create a new `access_key` in the developers sections
|
9
9
|
- MessageBird's API client for Ruby requires Ruby >= 1.9
|
10
10
|
|
11
11
|
Installation
|
@@ -176,7 +176,7 @@ client.voice_message('a08e51a0353bd16cea7f298a37405850')
|
|
176
176
|
Documentation
|
177
177
|
-------------
|
178
178
|
Complete documentation, instructions, and examples are available at:
|
179
|
-
[https://
|
179
|
+
[https://developers.messagebird.com/](https://developers.messagebird.com/).
|
180
180
|
|
181
181
|
License
|
182
182
|
-------
|
data/lib/messagebird.rb
CHANGED
data/lib/messagebird/client.rb
CHANGED
@@ -51,7 +51,7 @@ module MessageBird
|
|
51
51
|
when 200, 201, 204, 401, 404, 405, 422
|
52
52
|
json = JSON.parse(response.body)
|
53
53
|
else
|
54
|
-
raise Net::HTTPServerError.new 'Unknown response from server', response
|
54
|
+
raise Net::HTTPServerError.new response.http_version, 'Unknown response from server', response
|
55
55
|
end
|
56
56
|
|
57
57
|
# If the request returned errors, create Error objects and raise.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: messagebird-rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maurice Nonnekes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A simple REST API for MessageBird in Ruby
|
14
14
|
email: maurice@messagebird.com
|
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
49
|
version: '0'
|
50
50
|
requirements: []
|
51
51
|
rubyforge_project:
|
52
|
-
rubygems_version: 2.0.14
|
52
|
+
rubygems_version: 2.0.14.1
|
53
53
|
signing_key:
|
54
54
|
specification_version: 4
|
55
55
|
summary: MessageBird's REST API
|