Class: MonkeyBusiness::Messages
- Inherits:
-
ApiResource
- Object
- ApiResource
- MonkeyBusiness::Messages
- Defined in:
- lib/api/messages.rb
Overview
Abstraction of the Surveymonkey message resource and associated methods
Instance Attribute Summary
Attributes inherited from ApiResource
Instance Method Summary collapse
Methods inherited from ApiResource
Constructor Details
This class inherits a constructor from MonkeyBusiness::ApiResource
Instance Method Details
#recipients ⇒ Object
14 15 16 17 18 |
# File 'lib/api/messages.rb', line 14 def recipients fail_without_id .merge!() Recipients.new(@api, .merge(), @path) end |
#send ⇒ Object
8 9 10 11 12 |
# File 'lib/api/messages.rb', line 8 def send fail_without_id .merge!() @path += '/send' end |