Class: Imgur::Model::Image

Inherits:
Base
  • Object
show all
Includes:
Mixin::CreatedAtDatetime
Defined in:
(ruby-imgur 0.0.1) ruby-imgur/model.rb

Overview

Imgur Image model

Constant Summary collapse

MODEL_KEYS =

List of Image model keys.

%i(
  id title description datetime type animated width height size
  views bandwidth vote favorite nsfw section
  account_url account_id is_ad in_most_viral has_sound tags
  ad_type ad_url edited in_gallery deletehash name link
).freeze

Method Summary

Methods included from Mixin::CreatedAtDatetime

#created_at

Methods inherited from Base

#initialize, #to_obj

Constructor Details

This class inherits a constructor from Imgur::Model::Base