/surveygizmo

A Ruby wrapper for the SurveyGizmo REST API

Primary LanguageRubyMIT LicenseMIT

The SurveyGizmo Ruby Gem

A Ruby wrapper for the SurveyGizmo REST API

Installation

gem install surveygizmo

Usage

# Configure your Surveygizmo client
Surveygizmo.configure do |config|
  config.username = YOUR_USERNAME
  config.password = YOUR_PASSWORD
end
# Return a list of all Surveys
Surveygizmo.surveys
# Return a specific Survey
Surveygizmo.survey(id)

See the Documentation for the full list

To Do List

This gem is very young, and not all endpoints have been implemented. Here’s a brief overview of the progress so far (italics denotes lack of implementation):

  • Account
    • Show
  • Account User
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Contact
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Survey
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Survey Campaign
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Survey Response
    • Index
    • Show
    • Create
    • Update
    • Delete
  • Survey Option
  • Survey Question
  • Survey Page
  • Survey Statistics
  • Email Message

Also, there aren’t any tests yet. This is high on the priority list and should be coming soon.

Thanks

This gem is heavily inspired by the Twitter gem and John Nunemaker’s hard work.

Copyright

Copyright © 2011 Bobby Uhlenbrock. See LICENSE for details.