Class: BingSearch::Image
Instance Attribute Summary collapse
-
#content_type ⇒ String
Internet media type (MIME type) of the image, if available.
-
#file_size ⇒ Integer?
In bytes, if available.
-
#height ⇒ Integer?
In pixels, if available.
-
#media_url ⇒ String
(also: #url)
URL of the image.
-
#width ⇒ Integer?
In pixels, if available.
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from BingSearch::Model
Instance Attribute Details
#content_type ⇒ String
Internet media type (MIME type) of the image, if available
241 242 243 |
# File 'lib/bing-search/models.rb', line 241 def content_type @content_type end |
#file_size ⇒ Integer?
In bytes, if available
253 254 255 |
# File 'lib/bing-search/models.rb', line 253 def file_size @file_size end |
#height ⇒ Integer?
In pixels, if available
249 250 251 |
# File 'lib/bing-search/models.rb', line 249 def height @height end |
#media_url ⇒ String Also known as: url
URL of the image
236 237 238 |
# File 'lib/bing-search/models.rb', line 236 def media_url @media_url end |
#width ⇒ Integer?
In pixels, if available
245 246 247 |
# File 'lib/bing-search/models.rb', line 245 def width @width end |