class Ravelry::Photo
The information used to create `Ravelry::Photo` currently comes from {Ravelry::Pattern} objects.
See {Ravelry::Pattern} for more information about `Pattern` objects.
To utilize the `get`, `post`, `delete`, `get_sizes` methods, you have to be authenticated.
Public Instance Methods
build()
click to toggle source
# File lib/ravelry/photo.rb, line 11 def build; end
delete()
click to toggle source
# File lib/ravelry/photo.rb, line 21 def delete # TODO - requires authentication end
flickr_url()
click to toggle source
# File lib/ravelry/photo.rb, line 29 def flickr_url data[:flickr_url] end
get()
click to toggle source
# File lib/ravelry/photo.rb, line 13 def get # TODO - requires authentication end
get_sizes()
click to toggle source
# File lib/ravelry/photo.rb, line 25 def get_sizes # TODO - requires authentication end
medium_url()
click to toggle source
# File lib/ravelry/photo.rb, line 37 def medium_url data[:medium_url] end
post()
click to toggle source
# File lib/ravelry/photo.rb, line 17 def post # TODO - requires authentication end
shelved_url()
click to toggle source
# File lib/ravelry/photo.rb, line 49 def shelved_url data[:shelved_url] end
small_url()
click to toggle source
# File lib/ravelry/photo.rb, line 33 def small_url data[:small_url] end
sort_order()
click to toggle source
# File lib/ravelry/photo.rb, line 53 def sort_order data[:sort_order] end
square_url()
click to toggle source
# File lib/ravelry/photo.rb, line 41 def square_url data[:square_url] end
thumbnail_url()
click to toggle source
# File lib/ravelry/photo.rb, line 45 def thumbnail_url data[:thumbnail_url] end
x_offset()
click to toggle source
Offsets are used to place a small image in a 170x170 pixel square frame.
# File lib/ravelry/photo.rb, line 59 def x_offset data[:x_offset] end
y_offset()
click to toggle source
Offsets are used to place a small image in a 170x170 pixel square frame.
# File lib/ravelry/photo.rb, line 65 def y_offset data[:y_offset] end