class MonkeyBusiness::ContactLists

Abstraction of the Surveymonkey contact_list resource and associated methods

Public Instance Methods

contacts(options = {}) click to toggle source
# File lib/api/contact_lists.rb, line 23
def contacts(options = {})
  fail_without_id
  Contacts.new(@api, @options.merge(options), @path)
end
copy(options = {}) click to toggle source
# File lib/api/contact_lists.rb, line 9
def copy(options = {})
  fail_without_id
  @options.merge!(options)
  @path += '/copy'
  self
end
merge(options = {}) click to toggle source
# File lib/api/contact_lists.rb, line 16
def merge(options = {})
  fail_without_id
  @options.merge!(options)
  @path += '/merge'
  self
end