gaah 0.3.2 → 0.3.2.1
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/event.rb +1 -1
- data/lib/gaah/resource/api.rb +2 -2
- 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: 4838ead72ceb5c77c0f2450f5972d3af88276017
|
4
|
+
data.tar.gz: ffd47c6fd5633b9cefbbe1d3790a3b0bd37fd4a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77f0e1fa1587770a342e5a5a85812ee6663e82bd283c7d03d5042873bafd320c2fffc791e8512871170c39b98002e8179da9a4fcce5dd8ff61bfd3898b56422b
|
7
|
+
data.tar.gz: 5e8bb68155615d1ba576f081cc45f44b1354fc54161f813f64f8a6576c9f089a6c29a98519d981e7b9b67986e448b913e470c0c6fe2cada59606da7db2a5e403
|
data/lib/gaah/calendar/event.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Gaah
|
2
2
|
module Calendar
|
3
3
|
class Event < Gaah::ApiModel
|
4
|
-
attr_reader :updated, :summary, :description, :attendees, :when, :location, :creator, :transparency, :visibility, :ical_uid, :organizer, :sequence, :status
|
4
|
+
attr_reader :updated, :summary, :description, :attendees, :when, :location, :creator, :transparency, :visibility, :ical_uid, :organizer, :sequence, :status, :url
|
5
5
|
|
6
6
|
def initialize(json)
|
7
7
|
store_json(json)
|
data/lib/gaah/resource/api.rb
CHANGED
@@ -5,13 +5,13 @@ module Gaah
|
|
5
5
|
class Api
|
6
6
|
class << self
|
7
7
|
def resources
|
8
|
-
|
8
|
+
url = "https://apps-apis.google.com/a/feeds/calendar/resource/2.0/#{Gaah.domain}"
|
9
|
+
fetch_resources(url)
|
9
10
|
end
|
10
11
|
|
11
12
|
private
|
12
13
|
|
13
14
|
def fetch_resources(url)
|
14
|
-
url = "https://apps-apis.google.com/a/feeds/calendar/resource/2.0/#{Gaah.domain}"
|
15
15
|
xml = ApiClient.instance.get(url)
|
16
16
|
parsed = Nokogiri::XML(xml)
|
17
17
|
|
data/lib/gaah/version.rb
CHANGED