Class: DeviantArt::Deviation
- Defined in:
- lib/deviantart/base.rb,
lib/deviantart/deviation.rb
Defined Under Namespace
Classes: Content, Download, EmbeddedContent, Metadata, WhoFaved
Instance Attribute Summary collapse
-
#allows_comments ⇒ Object
Returns the value of attribute allows_comments.
-
#author ⇒ Object
:method: motion_book.
-
#category ⇒ Object
:method: motion_book.
-
#category_path ⇒ Object
:method: motion_book.
-
#challenge ⇒ Object
Returns the value of attribute challenge.
-
#challenge_entry ⇒ Object
Returns the value of attribute challenge_entry.
-
#content ⇒ Object
Returns the value of attribute content.
-
#daily_deviation ⇒ Object
Returns the value of attribute daily_deviation.
-
#deviationid ⇒ Object
:method: motion_book.
-
#download_filesize ⇒ Object
Returns the value of attribute download_filesize.
-
#excerpt ⇒ Object
Returns the value of attribute excerpt.
-
#flash ⇒ Object
Returns the value of attribute flash.
-
#is_deleted ⇒ Object
:method: motion_book.
-
#is_downloadable ⇒ Object
Returns the value of attribute is_downloadable.
-
#is_favourited ⇒ Object
:method: motion_book.
-
#is_mature ⇒ Object
Returns the value of attribute is_mature.
-
#motion_book ⇒ Object
Returns the value of attribute motion_book.
-
#preview ⇒ Object
Returns the value of attribute preview.
-
#printid ⇒ Object
:method: motion_book.
-
#published_time ⇒ Object
Returns the value of attribute published_time.
-
#stats ⇒ Object
:method: motion_book.
-
#thumbs ⇒ Object
Returns the value of attribute thumbs.
-
#title ⇒ Object
:method: motion_book.
-
#url ⇒ Object
:method: motion_book.
-
#videos ⇒ Object
Returns the value of attribute videos.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, point_to_class, points_class_mapping
Constructor Details
This class inherits a constructor from DeviantArt::Base
Instance Attribute Details
#allows_comments ⇒ Object
Returns the value of attribute allows_comments.
81 82 83 |
# File 'lib/deviantart/deviation.rb', line 81 def allows_comments @allows_comments end |
#author ⇒ Object
:method: motion_book
80 81 82 |
# File 'lib/deviantart/deviation.rb', line 80 def @author end |
#category ⇒ Object
:method: motion_book
80 81 82 |
# File 'lib/deviantart/deviation.rb', line 80 def category @category end |
#category_path ⇒ Object
:method: motion_book
80 81 82 |
# File 'lib/deviantart/deviation.rb', line 80 def category_path @category_path end |
#challenge ⇒ Object
Returns the value of attribute challenge.
82 83 84 |
# File 'lib/deviantart/deviation.rb', line 82 def challenge @challenge end |
#challenge_entry ⇒ Object
Returns the value of attribute challenge_entry.
82 83 84 |
# File 'lib/deviantart/deviation.rb', line 82 def challenge_entry @challenge_entry end |
#content ⇒ Object
Returns the value of attribute content.
81 82 83 |
# File 'lib/deviantart/deviation.rb', line 81 def content @content end |
#daily_deviation ⇒ Object
Returns the value of attribute daily_deviation.
81 82 83 |
# File 'lib/deviantart/deviation.rb', line 81 def daily_deviation @daily_deviation end |
#deviationid ⇒ Object
:method: motion_book
80 81 82 |
# File 'lib/deviantart/deviation.rb', line 80 def deviationid @deviationid end |
#download_filesize ⇒ Object
Returns the value of attribute download_filesize.
82 83 84 |
# File 'lib/deviantart/deviation.rb', line 82 def download_filesize @download_filesize end |
#excerpt ⇒ Object
Returns the value of attribute excerpt.
82 83 84 |
# File 'lib/deviantart/deviation.rb', line 82 def excerpt @excerpt end |
#flash ⇒ Object
Returns the value of attribute flash.
81 82 83 |
# File 'lib/deviantart/deviation.rb', line 81 def flash @flash end |
#is_deleted ⇒ Object
:method: motion_book
80 81 82 |
# File 'lib/deviantart/deviation.rb', line 80 def is_deleted @is_deleted end |
#is_downloadable ⇒ Object
Returns the value of attribute is_downloadable.
82 83 84 |
# File 'lib/deviantart/deviation.rb', line 82 def is_downloadable @is_downloadable end |
#is_favourited ⇒ Object
:method: motion_book
80 81 82 |
# File 'lib/deviantart/deviation.rb', line 80 def is_favourited @is_favourited end |
#is_mature ⇒ Object
Returns the value of attribute is_mature.
82 83 84 |
# File 'lib/deviantart/deviation.rb', line 82 def is_mature @is_mature end |
#motion_book ⇒ Object
Returns the value of attribute motion_book.
82 83 84 |
# File 'lib/deviantart/deviation.rb', line 82 def motion_book @motion_book end |
#preview ⇒ Object
Returns the value of attribute preview.
81 82 83 |
# File 'lib/deviantart/deviation.rb', line 81 def preview @preview end |
#printid ⇒ Object
:method: motion_book
80 81 82 |
# File 'lib/deviantart/deviation.rb', line 80 def printid @printid end |
#published_time ⇒ Object
Returns the value of attribute published_time.
81 82 83 |
# File 'lib/deviantart/deviation.rb', line 81 def published_time @published_time end |
#stats ⇒ Object
:method: motion_book
80 81 82 |
# File 'lib/deviantart/deviation.rb', line 80 def stats @stats end |
#thumbs ⇒ Object
Returns the value of attribute thumbs.
81 82 83 |
# File 'lib/deviantart/deviation.rb', line 81 def thumbs @thumbs end |
#title ⇒ Object
:method: motion_book
80 81 82 |
# File 'lib/deviantart/deviation.rb', line 80 def title @title end |
#url ⇒ Object
:method: motion_book
80 81 82 |
# File 'lib/deviantart/deviation.rb', line 80 def url @url end |
#videos ⇒ Object
Returns the value of attribute videos.
81 82 83 |
# File 'lib/deviantart/deviation.rb', line 81 def videos @videos end |
Instance Method Details
#to_s ⇒ Object
87 88 89 |
# File 'lib/deviantart/deviation.rb', line 87 def to_s "#{self.class.name}: #{@title} by #{@author.username} #{@deviationid}" end |