dannysmith_coolpay 0.1.2 → 0.1.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 +4 -4
- data/.gitignore +1 -0
- data/README.md +3 -3
- data/lib/coolpay/connection.rb +1 -1
- data/lib/coolpay/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: 6fac9b1ff67c565358e0256ee23b3ce65b9f727e
|
|
4
|
+
data.tar.gz: 8fe0fb195eb6cc45fb72e8489892fa6203e624e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 283933893bb8b652f10c3be502ffd5dc12aff45b9d883dbe04e1b32300ab5ef103d2f72cebfb23dad4983a85338609acde275781583720d9f7313c7999220a56
|
|
7
|
+
data.tar.gz: be2200b6d67d6e3e76e03b632138bd7ae6684b9ad5e84f9ff76d75a3148d892e8c36de9b5032a4ebf99f8d8fdb7722fd550f7392ab1d2839857b5ec4d70dcb68
|
data/.gitignore
CHANGED
data/README.md
CHANGED
|
@@ -46,13 +46,13 @@ COOLPAY_API_KEY=ABC12345678
|
|
|
46
46
|
COOLPAY_API_ENDPOINT_URL=https://coolpay.herokuapp.com/api
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
Then run `rake spec`.
|
|
49
|
+
Then run `rake spec`. On the first run, [VCR](https://github.com/vcr/vcr) will record most of the API calls and use the stored requests/responses for subsequent test runs. There is one test that will always hit the live API, though.
|
|
50
50
|
|
|
51
51
|
## Stuff this should have in it if it wasn't an exercise
|
|
52
52
|
|
|
53
|
-
* [ ] Cleaner tests.
|
|
54
53
|
* [ ] More sensible tests for `Connection#payments` and `Connection#recipients`.
|
|
55
|
-
* [ ] A way of reauthorizing, in case the
|
|
54
|
+
* [ ] A way of reauthorizing, in case the token times out.
|
|
55
|
+
* [ ] A bunch of refactoring for brevity.
|
|
56
56
|
|
|
57
57
|
## Development
|
|
58
58
|
|
data/lib/coolpay/connection.rb
CHANGED
data/lib/coolpay/version.rb
CHANGED