Class: MonkeyBusiness::Responses

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

Overview

Abstraction of the Surveymonkey responses 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

#bulk(options = {}) ⇒ Object



14
15
16
17
18
# File 'lib/api/responses.rb', line 14

def bulk(options = {})
  @options.merge!(options)
  @path += '/bulk'
  self
end

#details(options = {}) ⇒ Object



8
9
10
11
12
# File 'lib/api/responses.rb', line 8

def details(options = {})
  @options.merge!(options)
  @path += '/details'
  self
end