nylas 4.6.1 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/nylas/calendar.rb +7 -0
- data/lib/nylas/model/attributable.rb +0 -2
- data/lib/nylas/model/attributes.rb +2 -0
- data/lib/nylas/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25e0ba2a96bed5ddf666a1dfd4ca590039b555d4e3917ec2c9a5b24bb2b97c1a
|
4
|
+
data.tar.gz: e8f459d8ce121e5fbf26ecfac41836f173cb55eed5423f883bb3ce3f5092ae1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c4df432759f47064f5e1601cfc70a36d6bf80551df7a067d74766be2fba1a048a6af5d222f2b1a25b356f579d110e036d1155d2351fc8fa7cf7e6bdaa19fa56
|
7
|
+
data.tar.gz: 66f9f88677d6d3893fa4dc35742e8d05457bcd69a2d6b94b9afe8bff8cf40c4eb80d30edd4813d8d82431fdc00dced2223f24a73513178617704ddc081e33f0d
|
data/lib/nylas/calendar.rb
CHANGED
@@ -15,6 +15,9 @@ module Nylas
|
|
15
15
|
|
16
16
|
attribute :name, :string
|
17
17
|
attribute :description, :string
|
18
|
+
attribute :is_primary, :boolean
|
19
|
+
attribute :location, :string
|
20
|
+
attribute :timezone, :string
|
18
21
|
|
19
22
|
attribute :read_only, :boolean
|
20
23
|
|
@@ -22,6 +25,10 @@ module Nylas
|
|
22
25
|
read_only == true
|
23
26
|
end
|
24
27
|
|
28
|
+
def primary?
|
29
|
+
is_primary
|
30
|
+
end
|
31
|
+
|
25
32
|
def events
|
26
33
|
api.events.where(calendar_id: id)
|
27
34
|
end
|
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.6.
|
4
|
+
version: 4.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nylas, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -336,8 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
336
336
|
- !ruby/object:Gem::Version
|
337
337
|
version: '0'
|
338
338
|
requirements: []
|
339
|
-
|
340
|
-
rubygems_version: 2.7.6.2
|
339
|
+
rubygems_version: 3.0.8
|
341
340
|
signing_key:
|
342
341
|
specification_version: 4
|
343
342
|
summary: Gem for interacting with the Nylas API
|