Class: MonkeyBusiness::Collectors

Inherits:
ApiResource show all
Defined in:
lib/api/collectors.rb

Overview

Abstraction of the Surveymonkey collectors resource and associated methods

Instance Attribute Summary

Attributes inherited from ApiResource

#path

Instance Method Summary collapse

Methods inherited from ApiResource

#initialize, #request

Constructor Details

This class inherits a constructor from MonkeyBusiness::ApiResource

Instance Method Details

#messages(options = {}) ⇒ Object



16
17
18
19
# File 'lib/api/collectors.rb', line 16

def messages(options = {})
  fail_without_id
  Messages.new(@api, @options.merge(options), @path)
end

#recipients(options = {}) ⇒ Object



21
22
23
24
# File 'lib/api/collectors.rb', line 21

def recipients(options = {})
  fail_without_id
  Recipients.new(@api, @options.merge(options), @path)
end

#responses(options = {}) ⇒ Object



11
12
13
14
# File 'lib/api/collectors.rb', line 11

def responses(options = {})
  fail_without_id
  Responses.new(@api, @options.merge(options), @path)
end