class DeviantArt::Deviation

Attributes

allows_comments[RW]
author[RW]

:method: motion_book

category[RW]

:method: motion_book

category_path[RW]

:method: motion_book

challenge[RW]
challenge_entry[RW]
content[RW]
daily_deviation[RW]
deviationid[RW]

:method: motion_book

download_filesize[RW]
excerpt[RW]
flash[RW]
is_deleted[RW]

:method: motion_book

is_downloadable[RW]
is_favourited[RW]

:method: motion_book

is_mature[RW]
motion_book[RW]
preview[RW]
printid[RW]

:method: motion_book

published_time[RW]
stats[RW]

:method: motion_book

thumbs[RW]
title[RW]

:method: motion_book

url[RW]

:method: motion_book

videos[RW]

Public Instance Methods

allows_comments() click to toggle source

Boolean

# File lib/deviantart/deviation.rb, line 38
    
author() click to toggle source

The author of this deviation as DeviantArt::User

# File lib/deviantart/deviation.rb, line 29
    
category() click to toggle source

Category as String like “Fantasy”

# File lib/deviantart/deviation.rb, line 17
    
category_path() click to toggle source

Category path as String like “digitalart/paintings/fantasy”

# File lib/deviantart/deviation.rb, line 20
    
challenge() click to toggle source
# File lib/deviantart/deviation.rb, line 71
    
challenge_entry() click to toggle source
# File lib/deviantart/deviation.rb, line 74
    
content() click to toggle source

This has src as image URL, height and width as pixel size, transparency as boolean and filesize as byte

# File lib/deviantart/deviation.rb, line 44
    
daily_deviation() click to toggle source
# File lib/deviantart/deviation.rb, line 56
    
deviationid() click to toggle source

An UUID for deviation

# File lib/deviantart/deviation.rb, line 5
    
download_filesize() click to toggle source

The filesize of the image that is from [“content”]

# File lib/deviantart/deviation.rb, line 68
    
excerpt() click to toggle source
# File lib/deviantart/deviation.rb, line 59
    
flash() click to toggle source
# File lib/deviantart/deviation.rb, line 53
    
is_deleted() click to toggle source

The flag for what the deviation is deleted

# File lib/deviantart/deviation.rb, line 26
    
is_downloadable() click to toggle source

Is this danloadable?

# File lib/deviantart/deviation.rb, line 65
    
is_favourited() click to toggle source

Is this favorited by you?

# File lib/deviantart/deviation.rb, line 23
    
is_mature() click to toggle source

Is this mature content?

# File lib/deviantart/deviation.rb, line 62
    
preview() click to toggle source

This has src as image URL, height and width as pixel size and transparency as boolean

# File lib/deviantart/deviation.rb, line 41
    
printid() click to toggle source

:method: motion_book

# File lib/deviantart/deviation.rb, line 8
    
published_time() click to toggle source

Published time as Unix time

# File lib/deviantart/deviation.rb, line 35
    
stats() click to toggle source

This has numbers of comments and favorites

# File lib/deviantart/deviation.rb, line 32
    
thumbs() click to toggle source

Thumbnail list with src as URL, height, width and transparency

# File lib/deviantart/deviation.rb, line 47
    
title() click to toggle source

The title of deviation

# File lib/deviantart/deviation.rb, line 14
    
to_s() click to toggle source
# File lib/deviantart/deviation.rb, line 87
def to_s
  "#{self.class.name}: #{@title} by #{@author.username} #{@deviationid}"
end
url() click to toggle source

The URL for deviation

# File lib/deviantart/deviation.rb, line 11
    
videos() click to toggle source
# File lib/deviantart/deviation.rb, line 50