survey_monkey_api 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b326a4582dd8ea2dd35a84c2bba6435fe9b17a7
4
- data.tar.gz: 1951c931529d14d42c28b48c204de0705235e2fa
3
+ metadata.gz: 955ef4b226024f1f08451435898e721793891b86
4
+ data.tar.gz: f0dd8d56f74b6d54590ab7b17c7cf80311eb519b
5
5
  SHA512:
6
- metadata.gz: 7764f0f3f044aaad716a45a94e8f274f954de71bdbb7e605f98b2925b63f14a10559fbb7ba63c7c7a41c9e6802c30331cc648b062401e7170969273ebec8f866
7
- data.tar.gz: 47f42332b8ecc0c4e58f5747cb22e4a10110185d9098a8b3d1162ea7a5a0cc287fca2309b2318602d47207252b653b1fc3e1ef1eb4d9df9f38113c9b62258aba
6
+ metadata.gz: 7e853e75ed988a9dc338c134dfa8187bd52101d2e10f1f2a36db5b73d83bb294280271e3d3871a03b529aaab2c41511209fc63e7dce0ca1dba22a23fdfac80d5
7
+ data.tar.gz: e0ea991ee90d2da68d53280b70a73fac7b31281b211f61b0838f8c7f9a0dc9aabda60862579e417e7390a2b0eb0589e10bb54458acb54ecfd0b492d4e0ee7d19
data/README.md CHANGED
@@ -89,6 +89,8 @@ Request for getting list of surveys is #surveys.
89
89
  }
90
90
  }
91
91
  ```
92
+ per_page - Count of objects rendered per page, optional
93
+ page - Page ID, optional
92
94
 
93
95
  ### SurveyResponses
94
96
 
@@ -97,6 +99,8 @@ Request for getting list of survey responses is #responses.
97
99
  ```ruby
98
100
  client.responses(survey_id)
99
101
  ```
102
+ per_page - Count of objects rendered per page, optional
103
+ page - Page ID, optional
100
104
 
101
105
  ### SurveyResponse
102
106
 
@@ -106,6 +110,31 @@ Request for getting survey response's information is #response.
106
110
  client.response(survey_id, response_id)
107
111
  ```
108
112
 
113
+ #### Responces
114
+
115
+ ```ruby
116
+ {
117
+ "total_time"=>62,
118
+ "href"=>"https://api.surveymonkey.net/v3/surveys/00000002/responses/0000000001",
119
+ "custom_variables"=>{"respondent"=>""},
120
+ "ip_address"=>"2.110.189.144",
121
+ "id"=>"0000000001",
122
+ "logic_path"=>{},
123
+ "date_modified"=>"2017-03-24T09:09:28+00:00",
124
+ "response_status"=>"completed",
125
+ "custom_value"=>"",
126
+ "analyze_url"=>"https://www.surveymonkey.com/analyze/browse/ddsfdsf?respondent_id=0000000001",
127
+ "page_path"=>[],
128
+ "recipient_id"=>"",
129
+ "collector_id"=>"",
130
+ "date_created"=>"2017-03-24T09:08:26+00:00",
131
+ "survey_id"=>"00000002",
132
+ "collection_mode"=>"default",
133
+ "edit_url"=>"https://www.surveymonkey.com/r/?sm=fdsdfsdf",
134
+ "metadata"=>{}
135
+ }
136
+ ```
137
+
109
138
  ### SurveyResponse in details
110
139
 
111
140
  Request for getting survey response's information in details is #response_with_details.
@@ -114,9 +143,49 @@ Request for getting survey response's information in details is #response_with_d
114
143
  client.response_with_details(survey_id, response_id)
115
144
  ```
116
145
 
146
+ #### Responces
147
+
148
+ ```ruby
149
+ {
150
+ "total_time"=>62,
151
+ "href"=>"https://api.surveymonkey.net/v3/surveys/00000002/responses/0000000001",
152
+ "custom_variables"=>{"respondent"=>""},
153
+ "ip_address"=>"2.110.189.144",
154
+ "id"=>"0000000001",
155
+ "logic_path"=>{},
156
+ "date_modified"=>"2017-03-24T09:09:28+00:00",
157
+ "response_status"=>"completed",
158
+ "custom_value"=>"",
159
+ "analyze_url"=>"https://www.surveymonkey.com/analyze/browse/ddsfdsf?respondent_id=0000000001",
160
+ "pages"=>[
161
+ {
162
+ "id"=>"33518820",
163
+ "questions"=>[
164
+ {
165
+ "id"=>"96240864",
166
+ "answers"=>[
167
+ {
168
+ "choice_id"=>"725852898"
169
+ }
170
+ ]
171
+ }
172
+ ]
173
+ }
174
+ ],
175
+ "page_path"=>[],
176
+ "recipient_id"=>"",
177
+ "collector_id"=>"",
178
+ "date_created"=>"2017-03-24T09:08:26+00:00",
179
+ "survey_id"=>"00000002",
180
+ "collection_mode"=>"default",
181
+ "edit_url"=>"https://www.surveymonkey.com/r/?sm=fdsdfsdf",
182
+ "metadata"=>{}
183
+ }
184
+ ```
185
+
117
186
  ## Contributing
118
187
 
119
- Bug reports and pull requests are welcome on GitHub at https://github.com/kortirso/surveymonkey.
188
+ Bug reports and pull requests are welcome on GitHub at https://github.com/WebGents/surveymonkey.
120
189
 
121
190
  ## License
122
191
 
@@ -1,3 +1,3 @@
1
1
  module SurveyMonkeyApi
2
- VERSION = '0.2.2'.freeze
2
+ VERSION = '0.2.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: survey_monkey_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - JungleCoders
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-12-22 00:00:00.000000000 Z
12
+ date: 2018-01-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler