hdcore 0.0.4 → 0.0.5
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.
- data/.travis.yml +1 -2
- data/README.md +9 -5
- data/lib/hdcore/version.rb +1 -1
- metadata +3 -3
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -22,14 +22,18 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
Before use, the library must be configured with your client key:
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
```ruby
|
26
|
+
Hdcore.configure(public_key: 'foobar', private_key: 'fazbaz')
|
27
|
+
# or perhaps
|
28
|
+
Hdcore.configure_with(path_to_some_yml_config_file)
|
29
|
+
```
|
28
30
|
|
29
31
|
API calls are then made statically, and return HTTParty response objects.
|
30
32
|
|
31
|
-
|
32
|
-
|
33
|
+
```ruby
|
34
|
+
# An example of an action with parameters
|
35
|
+
Hdcore::Request.call('server.get', {:cuid => 'S37'})
|
36
|
+
```
|
33
37
|
|
34
38
|
For details on API specification, visit
|
35
39
|
https://api.hostdime.com/
|
data/lib/hdcore/version.rb
CHANGED
metadata
CHANGED