gaah 0.3.3.1 → 0.3.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gaah/calendar/calendar.rb +3 -5
- data/lib/gaah/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a16efe59c59236cd281e0934f3d32e6c2264c98
|
4
|
+
data.tar.gz: f85aed9cea104da4e08bcb0705f9a6fadddc5fe1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 236261f5a46efec37556f8d2652a1f534095fdc356d21c9399e701f0803d6b927001f0c45cf6b0c6270273750c05baa15ca3dce34cf8834db8e34c76c8bdb877
|
7
|
+
data.tar.gz: 5c76ca104b49c8b7033da5f27f53671d3b593a1a8cc5c0089a0f04433afffe154eff2b507b3403b3f2209f4649bcaf0326946a54f1229277efbb69000bc7e6ff
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Gaah
|
2
2
|
module Calendar
|
3
3
|
class Calendar < Gaah::ApiModel
|
4
|
-
attr_reader :id, :summary, :description, :time_zone, :color_id, :bg_color, :fg_color, :
|
4
|
+
attr_reader :id, :summary, :description, :hidden, :selected, :primary, :time_zone, :color_id, :bg_color, :fg_color, :access_role
|
5
5
|
|
6
6
|
def initialize(json)
|
7
7
|
store_json(json)
|
@@ -16,7 +16,6 @@ module Gaah
|
|
16
16
|
@color_id = json['colorId']
|
17
17
|
@bg_color = json['backgroundColor']
|
18
18
|
@fg_color = json['foregroundColor']
|
19
|
-
@selected = json['selected']
|
20
19
|
@access_role = json['accessRole']
|
21
20
|
end
|
22
21
|
|
@@ -32,17 +31,16 @@ module Gaah
|
|
32
31
|
color_id: @color_id,
|
33
32
|
bg_color: @bg_color,
|
34
33
|
fg_color: @fg_color,
|
35
|
-
selected: @selected,
|
36
34
|
access_role: @access_role,
|
37
35
|
}.to_json
|
38
36
|
end
|
39
37
|
|
40
38
|
def marshal_dump
|
41
|
-
[@id, @summary, @description, @hidden, @selected, @primary, @time_zone, @color_id, @bg_color, @fg_color, @
|
39
|
+
[@id, @summary, @description, @hidden, @selected, @primary, @time_zone, @color_id, @bg_color, @fg_color, @access_role]
|
42
40
|
end
|
43
41
|
|
44
42
|
def marshal_load(array)
|
45
|
-
@id, @summary, @description, @hidden, @selected, @primary, @time_zone, @color_id, @bg_color, @fg_color, @
|
43
|
+
@id, @summary, @description, @hidden, @selected, @primary, @time_zone, @color_id, @bg_color, @fg_color, @access_role = array
|
46
44
|
end
|
47
45
|
end
|
48
46
|
end
|
data/lib/gaah/version.rb
CHANGED