Class: DeviantArt::Deviation

Inherits:
Base
  • Object
show all
Defined in:
lib/deviantart/base.rb,
lib/deviantart/deviation.rb

Defined Under Namespace

Classes: Content, Download, EmbeddedContent, Metadata, WhoFaved

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

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_commentsObject

Returns the value of attribute allows_comments.



81
82
83
# File 'lib/deviantart/deviation.rb', line 81

def allows_comments
  @allows_comments
end

#authorObject

:method: motion_book



80
81
82
# File 'lib/deviantart/deviation.rb', line 80

def author
  @author
end

#categoryObject

:method: motion_book



80
81
82
# File 'lib/deviantart/deviation.rb', line 80

def category
  @category
end

#category_pathObject

:method: motion_book



80
81
82
# File 'lib/deviantart/deviation.rb', line 80

def category_path
  @category_path
end

#challengeObject

Returns the value of attribute challenge.



82
83
84
# File 'lib/deviantart/deviation.rb', line 82

def challenge
  @challenge
end

#challenge_entryObject

Returns the value of attribute challenge_entry.



82
83
84
# File 'lib/deviantart/deviation.rb', line 82

def challenge_entry
  @challenge_entry
end

#contentObject

Returns the value of attribute content.



81
82
83
# File 'lib/deviantart/deviation.rb', line 81

def content
  @content
end

#daily_deviationObject

Returns the value of attribute daily_deviation.



81
82
83
# File 'lib/deviantart/deviation.rb', line 81

def daily_deviation
  @daily_deviation
end

#deviationidObject

:method: motion_book



80
81
82
# File 'lib/deviantart/deviation.rb', line 80

def deviationid
  @deviationid
end

#download_filesizeObject

Returns the value of attribute download_filesize.



82
83
84
# File 'lib/deviantart/deviation.rb', line 82

def download_filesize
  @download_filesize
end

#excerptObject

Returns the value of attribute excerpt.



82
83
84
# File 'lib/deviantart/deviation.rb', line 82

def excerpt
  @excerpt
end

#flashObject

Returns the value of attribute flash.



81
82
83
# File 'lib/deviantart/deviation.rb', line 81

def flash
  @flash
end

#is_deletedObject

:method: motion_book



80
81
82
# File 'lib/deviantart/deviation.rb', line 80

def is_deleted
  @is_deleted
end

#is_downloadableObject

Returns the value of attribute is_downloadable.



82
83
84
# File 'lib/deviantart/deviation.rb', line 82

def is_downloadable
  @is_downloadable
end

#is_favouritedObject

:method: motion_book



80
81
82
# File 'lib/deviantart/deviation.rb', line 80

def is_favourited
  @is_favourited
end

#is_matureObject

Returns the value of attribute is_mature.



82
83
84
# File 'lib/deviantart/deviation.rb', line 82

def is_mature
  @is_mature
end

#motion_bookObject

Returns the value of attribute motion_book.



82
83
84
# File 'lib/deviantart/deviation.rb', line 82

def motion_book
  @motion_book
end

#previewObject

Returns the value of attribute preview.



81
82
83
# File 'lib/deviantart/deviation.rb', line 81

def preview
  @preview
end

#printidObject

:method: motion_book



80
81
82
# File 'lib/deviantart/deviation.rb', line 80

def printid
  @printid
end

#published_timeObject

Returns the value of attribute published_time.



81
82
83
# File 'lib/deviantart/deviation.rb', line 81

def published_time
  @published_time
end

#statsObject

:method: motion_book



80
81
82
# File 'lib/deviantart/deviation.rb', line 80

def stats
  @stats
end

#thumbsObject

Returns the value of attribute thumbs.



81
82
83
# File 'lib/deviantart/deviation.rb', line 81

def thumbs
  @thumbs
end

#titleObject

:method: motion_book



80
81
82
# File 'lib/deviantart/deviation.rb', line 80

def title
  @title
end

#urlObject

:method: motion_book



80
81
82
# File 'lib/deviantart/deviation.rb', line 80

def url
  @url
end

#videosObject

Returns the value of attribute videos.



81
82
83
# File 'lib/deviantart/deviation.rb', line 81

def videos
  @videos
end

Instance Method Details

#to_sObject



87
88
89
# File 'lib/deviantart/deviation.rb', line 87

def to_s
  "#{self.class.name}: #{@title} by #{@author.username} #{@deviationid}"
end