Class: Skydrive::Album

Inherits:
Folder show all
Defined in:
lib/skydrive/album.rb

Overview

A user’s album in SkyDrive

Instance Attribute Summary

Attributes inherited from Object

#client, #object

Instance Method Summary collapse

Methods inherited from Folder

#delete, #files, #photos, #update, #videos

Methods inherited from Object

#comment, #comments, #created_time, #delete, #description, #from, #id, #initialize, #is_embeddable?, #link, #name, #parent_id, #shared_with, #to_hash, #to_json, #type, #updated_time, #upload_location

Constructor Details

This class inherits a constructor from Skydrive::Object

Instance Method Details

#countInteger

The total number of items in the album.

Returns:

  • (Integer)


7
8
9
# File 'lib/skydrive/album.rb', line 7

def count
  object["count"]
end