root_insurance 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/root_insurance/client.rb +5 -0
- data/lib/root_insurance/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: 4a4814a310a065153f7c37a1ee141282b71c6550
|
4
|
+
data.tar.gz: e96421a409103a0b56840380f1c6ec52b13f5648
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 749f9aad7776cf5758d1fefa17da166cef9239ad025ef58f2bfc513386671f1b1692ee03880cc2aea555d949de73278da2ab66a3e398e273c7e3bdcf415ea547
|
7
|
+
data.tar.gz: e640916120d7745025874e8cb317cd15799fc6d8e6aef0d127564210d446849d47267dcd72cd19e0a13e6d81b142e28494d3c08a113a4b835803d6cb5b787222
|
data/CHANGELOG.md
CHANGED
@@ -17,6 +17,11 @@ class RootInsurance::Client
|
|
17
17
|
include RootInsurance::Api::Call
|
18
18
|
include RootInsurance::Api::Payment
|
19
19
|
|
20
|
+
# Initialize a new client
|
21
|
+
#
|
22
|
+
# @param [String] app_id The app's id
|
23
|
+
# @param [String] app_secret The app's secret. Currently it's a blank string
|
24
|
+
# @param [Symbol] env The environment to use. Either `:production` or `:sandbox`. The default is `:sandbox`
|
20
25
|
def initialize(app_id, app_secret, env=nil)
|
21
26
|
@app_id = app_id
|
22
27
|
@app_secret = app_secret
|