Method: Cloudant::Client#db_info

Defined in:
lib/cloudant/client.rb

#db_infoObject Also known as: info

Returns info about the database, including update_seq, db_name etc.



114
115
116
# File 'lib/cloudant/client.rb', line 114

def db_info
  @conn.query({url_path: "#{database}", method: :get})
end