shift_planning_client 0.0.1 → 0.0.2
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 +7 -2
- data/lib/shift_planning/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: 04d7c7cff77565bfab6c8318798e77ec2b6464b4
|
4
|
+
data.tar.gz: bc723e4b3f5f74f793a1548212119b3e3b0b0d4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4ad0c3d83d6565de66e1d4fc70e6b53bc797303bdd9e6b29d7ca2c99d777cd5cc8f9176c4ba3231b7cc8199cbe88aa19b6a597d34149fe36c474102139195a6
|
7
|
+
data.tar.gz: 5d08b05493beaa79a51be28abe911d01616f7285d344f2478a764d29beb16bc1808f472f475374dfcae4f7c9e17be1a118b66b331e3396e089a714cd8b6ddc55
|
data/README.md
CHANGED
@@ -14,11 +14,15 @@ And then execute:
|
|
14
14
|
|
15
15
|
Or install it yourself as:
|
16
16
|
|
17
|
-
$ gem install
|
17
|
+
$ gem install shift_planning_client
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
General usage:
|
22
|
+
|
23
|
+
```
|
24
|
+
client.<api_namespace>.<method>_<endpoint>(required_arg_1, required_arg_2 [, optional_params_hash])
|
25
|
+
```
|
22
26
|
|
23
27
|
```ruby
|
24
28
|
client = ShiftPlanning::Client.new(your_api_key)
|
@@ -39,6 +43,7 @@ Rescue from api errors with:
|
|
39
43
|
...
|
40
44
|
end
|
41
45
|
```
|
46
|
+
Api map described in lib/shift_planning/client.rb
|
42
47
|
For more info follow http://www.shiftplanning.com/api/
|
43
48
|
|
44
49
|
## Contributing
|