Module: Gerry::Client::Changes

Included in:
Gerry::Client
Defined in:
lib/gerry/client/changes.rb

Instance Method Summary collapse

Instance Method Details

#changes(options = []) ⇒ Hash

Get changes visible to the caller.



8
9
10
11
12
13
14
15
16
17
# File 'lib/gerry/client/changes.rb', line 8

def changes(options = [])
  url = '/changes/'
  
  if options.empty?
    return get(url)
  end
  
  options = map_options(options)
  get("#{url}?#{options}")        
end