Class: PageGlimpse::Image
- Inherits:
-
Object
- Object
- PageGlimpse::Image
- Defined in:
- lib/page_glimpse/image.rb
Overview
An instance of this class is returned with a successful PageGlimpse.get
request. This object wraps the information returned by Page Glimpse about the thumbnail requested.
Instance Attribute Summary collapse
-
#content ⇒ Object
(also: #body)
Returns the value of attribute content.
-
#content_length ⇒ Object
Returns the value of attribute content_length.
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#filename ⇒ Object
Returns the value of attribute filename.
Instance Attribute Details
#content ⇒ Object Also known as: body
Returns the value of attribute content.
9 10 11 |
# File 'lib/page_glimpse/image.rb', line 9 def content @content end |
#content_length ⇒ Object
Returns the value of attribute content_length.
9 10 11 |
# File 'lib/page_glimpse/image.rb', line 9 def content_length @content_length end |
#content_type ⇒ Object
Returns the value of attribute content_type.
9 10 11 |
# File 'lib/page_glimpse/image.rb', line 9 def content_type @content_type end |
#filename ⇒ Object
Returns the value of attribute filename.
9 10 11 |
# File 'lib/page_glimpse/image.rb', line 9 def filename @filename end |