Sha256: 0530bf0c64703c2ca12bb48b7c9777cac6e38b54d5ca286ee28b62ccdea67742

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

module Voog
  class API
    module Forms

      # List forms
      def forms(params = {})
        paginate 'forms', {query: params}
      end

      # Get a single form
      def form(id, params = {})
        get "forms/#{id}", {query: params}
      end

      # Update a form
      def update_form(id, data)
        put "forms/#{id}", data
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voog_api-0.0.10 lib/voog_api/api/forms.rb