Class: Skydrive::Tag
Overview
Contains info about tags that are associated with a photo or a video on SkyDrive
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
-
#x ⇒ Integer
The center of the tag’s horizontal position, measured as a floating-point percentage from 0 to 100, from the left edge of the photo.
-
#y ⇒ Object
The center of the tag’s vertical position, measured as a floating-point percentage from 0 to 100, from the top edge of the photo.
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
#x ⇒ Integer
The center of the tag’s horizontal position, measured as a floating-point percentage from 0 to 100, from the left edge of the photo
7 8 9 |
# File 'lib/skydrive/tag.rb', line 7 def x object["x"] end |
#y ⇒ Object
The center of the tag’s vertical position, measured as a floating-point percentage from 0 to 100, from the top edge of the photo
12 13 14 |
# File 'lib/skydrive/tag.rb', line 12 def y object["y"] end |