Class: ChinoRuby::GetCollectionsResponse

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Serializers::JSON
Defined in:
lib/chino_ruby/classes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#collectionsObject

Returns the value of attribute collections.



1049
1050
1051
# File 'lib/chino_ruby/classes.rb', line 1049

def collections
  @collections
end

#countObject

Returns the value of attribute count.



1049
1050
1051
# File 'lib/chino_ruby/classes.rb', line 1049

def count
  @count
end

#limitObject

Returns the value of attribute limit.



1049
1050
1051
# File 'lib/chino_ruby/classes.rb', line 1049

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset.



1049
1050
1051
# File 'lib/chino_ruby/classes.rb', line 1049

def offset
  @offset
end

#total_countObject

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

#attributesObject



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