Class: GetDocumentsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#countObject

Returns the value of attribute count.



1006
1007
1008
# File 'lib/chino_ruby.rb', line 1006

def count
  @count
end

#documentsObject

Returns the value of attribute documents.



1006
1007
1008
# File 'lib/chino_ruby.rb', line 1006

def documents
  @documents
end

#limitObject

Returns the value of attribute limit.



1006
1007
1008
# File 'lib/chino_ruby.rb', line 1006

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset.



1006
1007
1008
# File 'lib/chino_ruby.rb', line 1006

def offset
  @offset
end

#total_countObject

Returns the value of attribute total_count.



1006
1007
1008
# File 'lib/chino_ruby.rb', line 1006

def total_count
  @total_count
end

Instance Method Details

#attributesObject



1014
1015
1016
# File 'lib/chino_ruby.rb', line 1014

def attributes
    instance_values
end

#attributes=(hash) ⇒ Object



1008
1009
1010
1011
1012
# File 'lib/chino_ruby.rb', line 1008

def attributes=(hash)
    hash.each do |key, value|
        send("#{key}=", value)
    end
end