Class: DeviantArt::Status

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

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

#authorObject

:method: items



32
33
34
# File 'lib/deviantart/status.rb', line 32

def author
  @author
end

#bodyObject

:method: items



32
33
34
# File 'lib/deviantart/status.rb', line 32

def body
  @body
end

#comments_countObject

:method: items



32
33
34
# File 'lib/deviantart/status.rb', line 32

def comments_count
  @comments_count
end

#is_deletedObject

:method: items



32
33
34
# File 'lib/deviantart/status.rb', line 32

def is_deleted
  @is_deleted
end

#is_shareObject

:method: items



32
33
34
# File 'lib/deviantart/status.rb', line 32

def is_share
  @is_share
end

#itemsObject

:method: items



32
33
34
# File 'lib/deviantart/status.rb', line 32

def items
  @items
end

#statusidObject

:method: items



32
33
34
# File 'lib/deviantart/status.rb', line 32

def statusid
  @statusid
end

#tsObject

:method: items



32
33
34
# File 'lib/deviantart/status.rb', line 32

def ts
  @ts
end

#urlObject

:method: items



32
33
34
# File 'lib/deviantart/status.rb', line 32

def url
  @url
end

Instance Method Details

#to_sObject



37
38
39
# File 'lib/deviantart/status.rb', line 37

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