Class: Imgur::Image

Image data container

Attributes

Instance Attributes

delete_hash [RW] public

Sets the attribute delete_hash.

delete_page [RW] public

Sets the attribute delete_page.

image_hash [RW] public

Sets the attribute image_hash.

imgur_page [RW] public

Sets the attribute imgur_page.

large_thumbnail [RW] public

Sets the attribute large_thumbnail.

original_image [RW] public

Sets the attribute original_image.

small_thumbnail [RW] public

Sets the attribute small_thumbnail.

Constructor Summary

public initialize(image_info)
[View source]


25
26
27
28
29
30
31
32
33
# File 'lib/imgur.rb', line 25

def initialize image_info
  image_hash = image_info["image_hash"]
  delete_hash = image_info["delete_hash"]
  original_image = image_info["original_image"]
  large_thumbnail = image_info["large_thumbnail"]
  small_thumbnail = image_info["small_thumbnail"]
  imgur_page = image_info["imgur_page"]
  delete_page = image_info["delete_page"]
end
Generated on Thursday, October 15 2009 at 01:58:08 PM by YARD 0.2.3.5 (ruby-1.8.7).