Sha256: f566a381df78132aa2bdfc58edc38508d2e34fe86ba6b4ad49acb174fbc513b4
Contents?: true
Size: 887 Bytes
Versions: 6
Compression:
Stored size: 887 Bytes
Contents
module Voog class API # Voog Forms API methods. # # @see http://www.voog.com/developers/api/resources/forms module Forms # List forms # # @see http://www.voog.com/developers/api/resources/forms#get_forms def forms(params = {}) paginate 'forms', {query: params} end # Get a single form # # @see http://www.voog.com/developers/api/resources/forms#get_form def form(id, params = {}) get "forms/#{id}", {query: params} end # Update a form # # @see http://www.voog.com/developers/api/resources/forms#update_form def update_form(id, data) put "forms/#{id}", data end # Delete a form # # @see http://www.voog.com/developers/api/resources/forms#delete_form def delete_form(id) delete "forms/#{id}" end end end end
Version data entries
6 entries across 6 versions & 1 rubygems