wrike3 0.3.1 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wrike3/contact.rb +4 -0
- data/lib/wrike3/folder.rb +3 -2
- data/lib/wrike3/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdfbff43092737af55163a57073f3a8337181691
|
4
|
+
data.tar.gz: c63f04c136f47ecd0246d718e0da16f2cc33bd05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d0a5a2acd8325edead1f4381944fca694feff891fe11090dea4177ebc54e2ad4ebaf514015878e6ab3da6dfbaf522052b9438816159b64ce038dff63d671bf2
|
7
|
+
data.tar.gz: 16dd2ab76eac0b3078159a588ee8aaf2663be35a84c93a3ca2bb9b7308fa3ed54b572c800c18d16c20e0ffdfca3a3bb720915dafdf073650ab0e0314734dfd7b
|
data/lib/wrike3/contact.rb
CHANGED
data/lib/wrike3/folder.rb
CHANGED
@@ -16,8 +16,9 @@ module Wrike3
|
|
16
16
|
end
|
17
17
|
|
18
18
|
# create a folder
|
19
|
-
def create(
|
20
|
-
|
19
|
+
def create(folder_id = nil, params = {})
|
20
|
+
wrike_url = "folders#{(folder_id.present? ? "/#{folder_id}/folders" : '')}"
|
21
|
+
wrike.execute(:post, api_url(wrike_url), to_j(params))
|
21
22
|
end
|
22
23
|
|
23
24
|
# Update a folder
|
data/lib/wrike3/version.rb
CHANGED