soapy_cake 1.22.0 → 1.22.1
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 +4 -4
- data/README.md +5 -4
- data/lib/soapy_cake/client.rb +4 -0
- data/lib/soapy_cake/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: 491621f952c57a8d9f52076f6166166c71c4e7a0
|
|
4
|
+
data.tar.gz: b7309f77d46d9ed03daf6f320fd32c64d2d97ffd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b96544d7e713cb1ceccc4073a7246b4cb3fe6e2d2ab4bf9ebcee12e710ce3a70b09c6c8a5258d3a1911a8d10bd7b8a20078ae5519727477f1e5385eb8886f6b
|
|
7
|
+
data.tar.gz: d866495514cd196bd4e8735c8e5240b7ebff496d4989a2ca718adc9d075dbb53b7dfe1dde2e6c7c6dd1738f3ced68eb9525eba227d739750f5cb7defa8b27773
|
data/README.md
CHANGED
|
@@ -23,8 +23,9 @@ Or install it yourself as:
|
|
|
23
23
|
|
|
24
24
|
## Usage Examples
|
|
25
25
|
|
|
26
|
-
First we assume that you set the `CAKE_DOMAIN`, `CAKE_API_KEY` and
|
|
27
|
-
environment variables.
|
|
26
|
+
First we assume that you set the `CAKE_DOMAIN`, `CAKE_API_KEY` and
|
|
27
|
+
`CAKE_TIME_ZONE` environment variables. To enable the ADD, EDIT and ADDEDIT API
|
|
28
|
+
endpoints, `CAKE_WRITE_ENABLED=yes` should also be set.
|
|
28
29
|
|
|
29
30
|
Export all advertisers:
|
|
30
31
|
|
|
@@ -41,8 +42,8 @@ SoapyCake::Admin.new.affiliate_summary(
|
|
|
41
42
|
)
|
|
42
43
|
```
|
|
43
44
|
|
|
44
|
-
If you are interested in how we map methods to api endpoints take a look
|
|
45
|
-
|
|
45
|
+
If you are interested in how we map methods to api endpoints take a look at
|
|
46
|
+
[api.yml](api.yml).
|
|
46
47
|
|
|
47
48
|
## Time/Date Handling
|
|
48
49
|
- Define `CAKE_TIME_ZONE`
|
data/lib/soapy_cake/client.rb
CHANGED
data/lib/soapy_cake/version.rb
CHANGED