saklient 0.0.1 → 0.0.1.1
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 +10 -6
- data/lib/saklient/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: b0126534b4a62bcf833c8479800e27011c71204e
|
4
|
+
data.tar.gz: dbac41ad2d602d535e3ae05b43f4fffc1cf158e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec870815bfb4be70fd55d446c8f408338f8fdfc87b15fb0133fd65e674a6d7de6de307a97eea3a80282f192f7402b143729a06a1d0732eb67439d34ec30220dd
|
7
|
+
data.tar.gz: 39e1e7dc632e20389343d65032ac3981c60d5d44a2f66e031732941d51ae078ee2365e127966e9ee030e4a6b874ef590115d450aaa36f765b5c35abe1d2ff425
|
data/README.md
CHANGED
@@ -9,6 +9,7 @@ This library gives you an easy interface to control your resources on
|
|
9
9
|
<!-- toc -->
|
10
10
|
* [Installation](#installation)
|
11
11
|
* [How to use this library in your project](#how-to-use-this-library-in-your-project)
|
12
|
+
* [Examples](#examples)
|
12
13
|
* [Copyright and license](#copyright-and-license)
|
13
14
|
|
14
15
|
<!-- toc stop -->
|
@@ -16,8 +17,7 @@ This library gives you an easy interface to control your resources on
|
|
16
17
|
## Installation
|
17
18
|
|
18
19
|
```bash
|
19
|
-
gem install
|
20
|
-
gem specific_install -l git@github.com:sakura-internet/saklient.rb.git
|
20
|
+
gem install saklient
|
21
21
|
```
|
22
22
|
|
23
23
|
|
@@ -26,15 +26,19 @@ gem specific_install -l git@github.com:sakura-internet/saklient.rb.git
|
|
26
26
|
|
27
27
|
```ruby
|
28
28
|
require 'saklient/cloud/api'
|
29
|
-
api = Saklient::Cloud::API.authorize(YOUR_API_TOKEN, YOUR_API_SECRET)
|
30
|
-
|
31
|
-
#
|
32
|
-
api_is1b = api.in_zone("is1b")
|
29
|
+
api = Saklient::Cloud::API.authorize(YOUR_API_TOKEN, YOUR_API_SECRET, ZONE)
|
30
|
+
# ZONE: "is1a" (Ishikari 1st zone), "is1b" (Ishikari 2nd zone), "tk1v" (Sandbox)
|
31
|
+
# "tk1v" is recommended for tests
|
33
32
|
|
34
33
|
# ...
|
35
34
|
```
|
36
35
|
|
37
36
|
|
37
|
+
## Examples
|
38
|
+
|
39
|
+
Code examples are available [here](http://sakura-internet.github.io/saklient.doc/).
|
40
|
+
|
41
|
+
|
38
42
|
## Copyright and license
|
39
43
|
|
40
44
|
Copyright (C) 2014 SAKURA Internet, Inc.
|
data/lib/saklient/version.rb
CHANGED