class MonkeyBusiness::Surveys

Abstraction of the Surveymonkey survey resource and associated methods

Public Instance Methods

collectors(options = {}) click to toggle source
# File lib/api/surveys.rb, line 23
def collectors(options = {})
  fail_without_id
  Collectors.new(@api, @options.merge(options), @path)
end
details(options = {}) click to toggle source
# File lib/api/surveys.rb, line 11
def details(options = {})
  fail_without_id
  @options.merge!(options)
  @path += '/details'
  self
end
pages(options = {}) click to toggle source
# File lib/api/surveys.rb, line 28
def pages(options = {})
  fail_without_id
  Pages.new(@api, @options.merge(options), @path)
end
responses(options = {}) click to toggle source
# File lib/api/surveys.rb, line 18
def responses(options = {})
  fail_without_id
  Responses.new(@api, @options.merge(options), @path)
end