nylas 4.3.1 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nylas/api.rb +8 -0
- data/lib/nylas/event.rb +0 -1
- data/lib/nylas/model.rb +1 -1
- data/lib/nylas/version.rb +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 409a66c7c0f6450844eb2f3710d805b646f7f0993de0e4f78bd8506db667584e
|
4
|
+
data.tar.gz: 37a1f95b1e9b5f6cb3de6e2df02a4c0c970c18e0b2c9456fc49329a8814a4a7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bea6e6a62207fd428947b24ee0fb6a84ca86b7c29a56dd9a98223bbcd78534307875ee129b115719f888007027db9b270e59edf8f6a2ba2c09018fb084b7ba9
|
7
|
+
data.tar.gz: ff7615d467aac326883ca08b7de8eaf3b794905162bb53a5f7c664bf40813b68c7781505237b404f4fc81220abc2962bebc59d4d2326dbc244f622719f685a87
|
data/lib/nylas/api.rb
CHANGED
@@ -99,6 +99,14 @@ module Nylas
|
|
99
99
|
response.code == 200 && response.empty?
|
100
100
|
end
|
101
101
|
|
102
|
+
# Returns list of IP addresses
|
103
|
+
# @return [Hash]
|
104
|
+
# hash has keys of :updated_at (unix timestamp) and :ip_addresses (array of strings)
|
105
|
+
def ip_addresses
|
106
|
+
path = "/a/#{app_id}/ip_addresses"
|
107
|
+
client.as(client.app_secret).get(path: path)
|
108
|
+
end
|
109
|
+
|
102
110
|
# @param message [Hash, String, #send!]
|
103
111
|
# @return [Message] The resulting message
|
104
112
|
def send!(message)
|
data/lib/nylas/event.rb
CHANGED
data/lib/nylas/model.rb
CHANGED
data/lib/nylas/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nylas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nylas, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -326,15 +326,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
326
326
|
requirements:
|
327
327
|
- - ">="
|
328
328
|
- !ruby/object:Gem::Version
|
329
|
-
version: '2.
|
329
|
+
version: '2.3'
|
330
330
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
331
331
|
requirements:
|
332
332
|
- - ">="
|
333
333
|
- !ruby/object:Gem::Version
|
334
334
|
version: '0'
|
335
335
|
requirements: []
|
336
|
-
|
337
|
-
rubygems_version: 2.7.6.2
|
336
|
+
rubygems_version: 3.0.3
|
338
337
|
signing_key:
|
339
338
|
specification_version: 4
|
340
339
|
summary: Gem for interacting with the Nylas API
|