civo 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/civo/ip.rb +8 -8
- data/lib/civo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfe6a9d7d21a9bfa15db9729a5ac94dc9ce512dd
|
4
|
+
data.tar.gz: 1d06704eede289511622b01e9d5c75978dd32d89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55492f3aa50950c8c967a809f231ed78824ce76cd9f762aa3b0f7c09ec6840011572add0dc705862f8a6543af570340e1923bcdb7dc2375e2d759b06ea72be70
|
7
|
+
data.tar.gz: 50631249b05d21cd6b38453ea84212e65510ff730d475c53d5369dd1fff92cee7817f066e4a816f43d866f83e785844334d0d30142341dad8269d280c1bf2f2a
|
data/app/models/civo/ip.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
module Civo
|
2
2
|
class Ip < Base
|
3
|
-
get :for_instance, "/v1/instances/:id/ip", requires: [:id],
|
4
|
-
|
5
|
-
post :create, "/v1/instances/:id/ip", requires: [:id],
|
6
|
-
|
7
|
-
delete :remove, "/v1/instances/:id/ip/:ip_address", requires: [:id, :ip_address],
|
8
|
-
|
9
|
-
put :connect, "/v1/instances/:id/ip/:ip_address", requires: [:id, :ip_address],
|
10
|
-
|
3
|
+
# get :for_instance, "/v1/instances/:id/ip", requires: [:id],
|
4
|
+
# fake: [ { "private_ip": "10.0.0.1" }, { "private_ip": "10.0.0.1", "public_ip": "31.28.96.101" }]
|
5
|
+
# post :create, "/v1/instances/:id/ip", requires: [:id],
|
6
|
+
# fake: { "result": "ok" }
|
7
|
+
# delete :remove, "/v1/instances/:id/ip/:ip_address", requires: [:id, :ip_address],
|
8
|
+
# fake: { "result": "ok" }
|
9
|
+
# put :connect, "/v1/instances/:id/ip/:ip_address", requires: [:id, :ip_address],
|
10
|
+
# fake: { "result": "ok" }
|
11
11
|
end
|
12
12
|
end
|
data/lib/civo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: civo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|