Class: ChinoRuby::GetDocumentsResponse
- Inherits:
-
Object
- Object
- ChinoRuby::GetDocumentsResponse
- Includes:
- ActiveModel::Serializers::JSON
- Defined in:
- lib/chino_ruby/classes.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
-
#documents ⇒ Object
Returns the value of attribute documents.
-
#IDs ⇒ Object
Returns the value of attribute IDs.
-
#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
#count ⇒ Object
Returns the value of attribute count.
950 951 952 |
# File 'lib/chino_ruby/classes.rb', line 950 def count @count end |
#documents ⇒ Object
Returns the value of attribute documents.
950 951 952 |
# File 'lib/chino_ruby/classes.rb', line 950 def documents @documents end |
#IDs ⇒ Object
Returns the value of attribute IDs.
950 951 952 |
# File 'lib/chino_ruby/classes.rb', line 950 def IDs @IDs end |
#limit ⇒ Object
Returns the value of attribute limit.
950 951 952 |
# File 'lib/chino_ruby/classes.rb', line 950 def limit @limit end |
#offset ⇒ Object
Returns the value of attribute offset.
950 951 952 |
# File 'lib/chino_ruby/classes.rb', line 950 def offset @offset end |
#total_count ⇒ Object
Returns the value of attribute total_count.
950 951 952 |
# File 'lib/chino_ruby/classes.rb', line 950 def total_count @total_count end |
Instance Method Details
#attributes ⇒ Object
958 959 960 |
# File 'lib/chino_ruby/classes.rb', line 958 def attributes instance_values end |
#attributes=(hash) ⇒ Object
952 953 954 955 956 |
# File 'lib/chino_ruby/classes.rb', line 952 def attributes=(hash) hash.each do |key, value| send("#{key}=", value) end end |