Class: DeviantArt::User

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

Defined Under Namespace

Classes: DamnToken, Friends, Profile, Statuses, UpdateProfile, Watchers, Whois

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

#detailsObject

:method: stats Some values; friends and watchers.



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

def details
  @details
end

#geoObject

:method: stats Some values; friends and watchers.



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

def geo
  @geo
end

#is_watchingObject

:method: stats Some values; friends and watchers.



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

def is_watching
  @is_watching
end

#profileObject

:method: stats Some values; friends and watchers.



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

def profile
  @profile
end

#statsObject

:method: stats Some values; friends and watchers.



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

def stats
  @stats
end

#typeObject

:method: stats Some values; friends and watchers.



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

def type
  @type
end

#usericonObject

:method: stats Some values; friends and watchers.



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

def usericon
  @usericon
end

#useridObject

:method: stats Some values; friends and watchers.



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

def userid
  @userid
end

#usernameObject

:method: stats Some values; friends and watchers.



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

def username
  @username
end

Instance Method Details

#to_sObject



35
36
37
# File 'lib/deviantart/user.rb', line 35

def to_s
  "#{self.class.name}: #{@username} #{@userid}"
end