Class: Pandarus::User
- Defined in:
- lib/pandarus/models/user.rb
Instance Attribute Summary collapse
-
#avatar_url ⇒ Object
Returns the value of attribute avatar_url.
-
#email ⇒ Object
Returns the value of attribute email.
-
#enrollments ⇒ Object
Returns the value of attribute enrollments.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_login ⇒ Object
Returns the value of attribute last_login.
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#login_id ⇒ Object
Returns the value of attribute login_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#short_name ⇒ Object
Returns the value of attribute short_name.
-
#sis_login_id ⇒ Object
Returns the value of attribute sis_login_id.
-
#sis_user_id ⇒ Object
Returns the value of attribute sis_user_id.
-
#sortable_name ⇒ Object
Returns the value of attribute sortable_name.
-
#time_zone ⇒ Object
Returns the value of attribute time_zone.
Class Method Summary collapse
Methods inherited from ModelBase
#assign, #attr, #has_attr?, #initialize, #inspect, #to_body
Constructor Details
This class inherits a constructor from Pandarus::ModelBase
Instance Attribute Details
#avatar_url ⇒ Object
Returns the value of attribute avatar_url.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def avatar_url @avatar_url end |
#email ⇒ Object
Returns the value of attribute email.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def email @email end |
#enrollments ⇒ Object
Returns the value of attribute enrollments.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def enrollments @enrollments end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def id @id end |
#last_login ⇒ Object
Returns the value of attribute last_login.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def last_login @last_login end |
#locale ⇒ Object
Returns the value of attribute locale.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def locale @locale end |
#login_id ⇒ Object
Returns the value of attribute login_id.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def login_id @login_id end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def name @name end |
#short_name ⇒ Object
Returns the value of attribute short_name.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def short_name @short_name end |
#sis_login_id ⇒ Object
Returns the value of attribute sis_login_id.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def sis_login_id @sis_login_id end |
#sis_user_id ⇒ Object
Returns the value of attribute sis_user_id.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def sis_user_id @sis_user_id end |
#sortable_name ⇒ Object
Returns the value of attribute sortable_name.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def sortable_name @sortable_name end |
#time_zone ⇒ Object
Returns the value of attribute time_zone.
6 7 8 |
# File 'lib/pandarus/models/user.rb', line 6 def time_zone @time_zone end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/pandarus/models/user.rb', line 9 def self.attribute_map { :id => {:external => "id", :container => false, :type => nil}, :name => {:external => "name", :container => false, :type => nil}, :sortable_name => {:external => "sortable_name", :container => false, :type => nil}, :short_name => {:external => "short_name", :container => false, :type => nil}, :sis_user_id => {:external => "sis_user_id", :container => false, :type => nil}, :sis_login_id => {:external => "sis_login_id", :container => false, :type => nil}, :login_id => {:external => "login_id", :container => false, :type => nil}, :avatar_url => {:external => "avatar_url", :container => false, :type => nil}, :enrollments => {:external => "enrollments", :container => true, :type => "Enrollment"}, :email => {:external => "email", :container => false, :type => nil}, :locale => {:external => "locale", :container => false, :type => nil}, :last_login => {:external => "last_login", :container => false, :type => "Date"}, :time_zone => {:external => "time_zone", :container => false, :type => nil} } end |