Class: ChinoRuby::GetCollectionsResponse
- Inherits:
-
Object
- Object
- ChinoRuby::GetCollectionsResponse
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby/classes.rb
Instance Attribute Summary collapse
-
#collections ⇒ Object
Returns the value of attribute collections.
-
#count ⇒ Object
Returns the value of attribute count.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#total_count ⇒ Object
Returns the value of attribute total_count.
Instance Method Summary collapse
Instance Attribute Details
#collections ⇒ Object
Returns the value of attribute collections.
1049 1050 1051 |
# File 'lib/chino_ruby/classes.rb', line 1049 def collections @collections end |
#count ⇒ Object
Returns the value of attribute count.
1049 1050 1051 |
# File 'lib/chino_ruby/classes.rb', line 1049 def count @count end |
#limit ⇒ Object
Returns the value of attribute limit.
1049 1050 1051 |
# File 'lib/chino_ruby/classes.rb', line 1049 def limit @limit end |
#offset ⇒ Object
Returns the value of attribute offset.
1049 1050 1051 |
# File 'lib/chino_ruby/classes.rb', line 1049 def offset @offset end |
#total_count ⇒ Object
Returns the value of attribute total_count.
1049 1050 1051 |
# File 'lib/chino_ruby/classes.rb', line 1049 def total_count @total_count end |
Instance Method Details
#attributes ⇒ Object
1057 1058 1059 |
# File 'lib/chino_ruby/classes.rb', line 1057 def attributes instance_values end |
#attributes=(hash) ⇒ Object
1051 1052 1053 1054 1055 |
# File 'lib/chino_ruby/classes.rb', line 1051 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |