smart_init 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/smart_init/version.rb +1 -1
- data/test/test_keywords_api.rb +0 -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: 231d6827b8847a42b8e348879e32c2bbf064047c
|
4
|
+
data.tar.gz: b5fb2b394d6ce49f1a48377dd15e3d0a0f44e9d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 823d656808f1555613886de78ba6b6b455163ed981ffcaf730fe550b365d9d12d3a50c0bb36a158a9664fe54e5ef0c640471c4e9c677c5934a97cd4bfec88817
|
7
|
+
data.tar.gz: 679cfee187a6f25dccad66379ed0fe9289f6df84f65c2ad1a7e1d2849f1a0da8fde36ebcb1ad4e67bddd0dc767917f1c7d11267139d090415c6ef932a890aea4
|
data/README.md
CHANGED
@@ -29,7 +29,7 @@ You can use it either by extending a module:
|
|
29
29
|
class ApiClient
|
30
30
|
extend SmartInit
|
31
31
|
|
32
|
-
initialize_with :network_provider, :
|
32
|
+
initialize_with :network_provider, api_token: "default_token"
|
33
33
|
end
|
34
34
|
|
35
35
|
```
|
@@ -38,7 +38,7 @@ or subclassing:
|
|
38
38
|
|
39
39
|
```ruby
|
40
40
|
class ApiClient < SmartInit::Base
|
41
|
-
initialize_with :network_provider, :
|
41
|
+
initialize_with :network_provider, api_token: "default_token"
|
42
42
|
end
|
43
43
|
|
44
44
|
```
|
data/lib/smart_init/version.rb
CHANGED
data/test/test_keywords_api.rb
CHANGED