model_to_googlesheet 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +6 -6
- data/lib/model_to_googlesheet/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: 38a2455e4d26c1dff080f99da107cd3f35084132
|
4
|
+
data.tar.gz: c624e39894a779fda496a87c39a254ca0dc7d689
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2f6954dead95c1bbcc2074c80735898f96b2d441dbdb83fa0038cb2cd5b392f4cfb74604cc60f7653475ce48c455ddadda9a5d51577feb5df2d9dce0c2fb525
|
7
|
+
data.tar.gz: ddeae0f6ab132f578b4ee12bd3d38ba74a4329364892775c7477434d8b96f2c8b0385fbf817ba05b16408bf5c7b43869aa4932804bbc93c4600b5413037b5031
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -20,12 +20,12 @@ Once you get your **client_id**, **client_secret** and **refresh_token**, you ca
|
|
20
20
|
Available options are include:
|
21
21
|
|
22
22
|
`client_id`
|
23
|
-
`client_secret`
|
24
|
-
`refresh_token`
|
25
|
-
`spreadsheet` - title of the spreadheet you'd like to export your data in.
|
26
|
-
`worksheet` - title of the worksheet you'd like to export your data in. if either worksheet or spreadsheet with such titles don't exit, they will be created.
|
27
|
-
`convert_with` - (optional) either symbol of method name in your model or Proc that will return hash (== columns and values to include in a worksheet created).
|
28
|
-
`update` - (optional, only works for separate records) true or false, whether to update rows found by :find_by option. that is, if you have googlesheet rows with unique :name values, you may want to update to set `update: true, find_by: :name`, so that on `user.export_to_googlesheet` gem will try to find a row with a name equal to user's name, and, if successful, update it (or append a new one if row wasn't found). default behavious is to append any record.
|
23
|
+
`client_secret`
|
24
|
+
`refresh_token`
|
25
|
+
`spreadsheet` - title of the spreadheet you'd like to export your data in.
|
26
|
+
`worksheet` - title of the worksheet you'd like to export your data in. if either worksheet or spreadsheet with such titles don't exit, they will be created.
|
27
|
+
`convert_with` - (optional) either symbol of method name in your model or Proc that will return hash (== columns and values to include in a worksheet created).
|
28
|
+
`update` - (optional, only works for separate records) true or false, whether to update rows found by :find_by option. that is, if you have googlesheet rows with unique :name values, you may want to update to set `update: true, find_by: :name`, so that on `user.export_to_googlesheet` gem will try to find a row with a name equal to user's name, and, if successful, update it (or append a new one if row wasn't found). default behavious is to append any record.
|
29
29
|
`find_by` - (optional, only works for separate records, necessary if `update: true`)
|
30
30
|
|
31
31
|
|