Class: ChinoRuby::GetDocumentsResponse

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

#countObject

Returns the value of attribute count.



950
951
952
# File 'lib/chino_ruby/classes.rb', line 950

def count
  @count
end

#documentsObject

Returns the value of attribute documents.



950
951
952
# File 'lib/chino_ruby/classes.rb', line 950

def documents
  @documents
end

#IDsObject

Returns the value of attribute IDs.



950
951
952
# File 'lib/chino_ruby/classes.rb', line 950

def IDs
  @IDs
end

#limitObject

Returns the value of attribute limit.



950
951
952
# File 'lib/chino_ruby/classes.rb', line 950

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset.



950
951
952
# File 'lib/chino_ruby/classes.rb', line 950

def offset
  @offset
end

#total_countObject

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

#attributesObject



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