Sha256: 846dce9afa3097607fd26601300c7126df7a4ce8daf92fd3d18ab0e44014e5a1

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 Bytes

Contents

module Voog
  class API
    module Forms

      # List forms
      def forms(params = {})
        get '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.7 lib/voog_api/api/forms.rb