Class: Pandarus::Collection
- Defined in:
- lib/pandarus/models/collection.rb
Instance Attribute Summary collapse
-
#followed_by_user ⇒ Object
Returns the value of attribute followed_by_user.
-
#followers_count ⇒ Object
Returns the value of attribute followers_count.
-
#id ⇒ Object
Returns the value of attribute id.
-
#items_count ⇒ Object
Returns the value of attribute items_count.
-
#name ⇒ Object
Returns the value of attribute name.
-
#visibility ⇒ Object
Returns the value of attribute visibility.
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
#followed_by_user ⇒ Object
Returns the value of attribute followed_by_user.
6 7 8 |
# File 'lib/pandarus/models/collection.rb', line 6 def followed_by_user @followed_by_user end |
#followers_count ⇒ Object
Returns the value of attribute followers_count.
6 7 8 |
# File 'lib/pandarus/models/collection.rb', line 6 def followers_count @followers_count end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/pandarus/models/collection.rb', line 6 def id @id end |
#items_count ⇒ Object
Returns the value of attribute items_count.
6 7 8 |
# File 'lib/pandarus/models/collection.rb', line 6 def items_count @items_count end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/pandarus/models/collection.rb', line 6 def name @name end |
#visibility ⇒ Object
Returns the value of attribute visibility.
6 7 8 |
# File 'lib/pandarus/models/collection.rb', line 6 def visibility @visibility end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/pandarus/models/collection.rb', line 9 def self.attribute_map { :id => {:external => "id", :container => false, :type => nil}, :name => {:external => "name", :container => false, :type => nil}, :visibility => {:external => "visibility", :container => false, :type => nil}, :followed_by_user => {:external => "followed_by_user", :container => false, :type => nil}, :followers_count => {:external => "followers_count", :container => false, :type => nil}, :items_count => {:external => "items_count", :container => false, :type => nil} } end |