gdocs4ruby 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/lib/gdocs4ruby/base_object.rb +2 -0
- data/lib/gdocs4ruby/service.rb +6 -2
- metadata +1 -1
data/CHANGELOG
CHANGED
data/lib/gdocs4ruby/service.rb
CHANGED
@@ -95,9 +95,13 @@ FOLDER_LIST_FEED = "http://docs.google.com/feeds/documents/private/full/-/folder
|
|
95
95
|
doc = Spreadsheet.new(self)
|
96
96
|
when 'presentation'
|
97
97
|
doc = Presentation.new(self)
|
98
|
+
else
|
99
|
+
doc = BaseObject.new(self)
|
100
|
+
end
|
101
|
+
if doc
|
102
|
+
doc.load(ele.to_s)
|
103
|
+
contents << doc
|
98
104
|
end
|
99
|
-
doc.load(ele.to_s)
|
100
|
-
contents << doc
|
101
105
|
end
|
102
106
|
return contents
|
103
107
|
end
|