ovh 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 630a0df8494df29a89d38e8820737df7875ef1fb6091ae16e418666b3ef513bd
4
- data.tar.gz: 845245d9a703a6827e96e036d3f2dc26620231fa0d23c4df49a5b3c017f87812
3
+ metadata.gz: '01379e3dde0247b1d0db1af760ade24315e265c375043f89ed4fb22629c53490'
4
+ data.tar.gz: ae3367038fe155ab8a64db0c0449a1fa05e949e46484a71c363460383e3d0f95
5
5
  SHA512:
6
- metadata.gz: 03d9f95632d8148edda8a29b3a884d2dec0691404c682b0c937602db111a6918fd6108d13902906d90045bbb13d40a955eb0b740b46c8a45d27e0e7073e5644f
7
- data.tar.gz: 86637af1e8f04380c3cf0dc892fe379c03bec957bb5a3c4d2b9b0a8209e8cf05b85587173f8523952be2e399af966aff73e9384bcc3faeb2f161148f7df50a89
6
+ metadata.gz: f8bf6535dbf35a494226d31d3fdbaf0c1477ab69cfc664fa54f00364442253e3971def616878210e31fbfd5e8c327c2fd184b6773df6ac937675ecb324d71feb
7
+ data.tar.gz: 16fe66ac6437146e7a9554b5ca0918113c99ee331a67f926c568d4d9665427ee8af6e0c9872fc4b3269ad93ae8495ff4e7e3dc555dd74968812f0b6e3db53ebb
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ovh (0.1.0)
4
+ ovh (0.1.1)
5
5
  faraday (~> 0.15.2)
6
6
  faraday_middleware (>= 0.12.2)
7
7
 
@@ -6,6 +6,10 @@ module Ovh
6
6
  get("/vps", options: options)
7
7
  end
8
8
 
9
+ def vps_service(service_name, options: {})
10
+ get("/vps/#{service_name}", options: options)
11
+ end
12
+
9
13
  # Ips associated to this virtual server
10
14
  def vps_ips(service_name, options: {})
11
15
  get("/vps/#{service_name}/ips", options: options)
@@ -1,3 +1,3 @@
1
1
  module Ovh
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ovh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian