Method: Cloudant::Client#changes
- Defined in:
- lib/cloudant/client.rb
#changes(*opts) ⇒ Object
Get a hash => [], containing a hash of seq, id, changes
101 102 103 104 105 106 |
# File 'lib/cloudant/client.rb', line 101 def changes(*opts) q = "#{database}/_changes" q << build_query_string(opts.first,"changes") if opts && opts.any? && opts.first.is_a?(Hash) @conn.query({url_path: q, method: :get}) end |