cloud_party 0.1.6 → 0.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a99a96cb3a4dd7c2f4586ea783603c598023b29adb568f307cdfa2ffee6d479
4
- data.tar.gz: 346df770759f10809a2e84cee9cb56b87808cb10d7efba62273d7eb0fb0d51e9
3
+ metadata.gz: 47d19b145dd37b914a80456721c7489e9708781ddd832f86fbf8d97674561511
4
+ data.tar.gz: 5542d0d92ab63035f9f53c71261e6d73059463f31087ff995dc775bf784831d0
5
5
  SHA512:
6
- metadata.gz: 8de5deacb4758570d871028a0feae56cfe9a10fc0c4baaefd31f639d9fda14a4b084a635b4f9b46c059a31dc84ca3881a2ed4d5de716447b61afeb477c496ec0
7
- data.tar.gz: 4c727ffdf69646101e242c7ac215b54afd2af0d7c33266166f882eacc8c779ff862743f3c2f0601425ea26466aeee82f6bbcef27d783e2825e7ff63c3f470b6e
6
+ metadata.gz: f159ba7a29c319565f148254117687e376532cfdde407ca35bde2379c881f522654fa7553e5b46369920dc753b831198c44c56090161e095c2716a43d5f88cc1
7
+ data.tar.gz: 18fbd570c394d82c8dafe037fd730f1a3e54e91ff1515e2a9a04ad629a42b83c9bffd1e769234c60902002f2b6b13255537b83bb836760111a6d069dafa3ec34
File without changes
data/bin/setup CHANGED
File without changes
@@ -91,7 +91,7 @@ module CloudParty
91
91
  CloudParty::Responses::DNSRecords.new(
92
92
  :delete,
93
93
  '/zones/:id/dns_records/:identifier',
94
- self.class.delete("/zones/#{zone_id}")
94
+ self.class.delete("/zones/#{zone_id}/dns_records/#{id}")
95
95
  )
96
96
  end
97
97
  end
@@ -32,10 +32,12 @@ module CloudParty
32
32
  @options = options
33
33
  end
34
34
 
35
- def list
35
+ def list_zones
36
36
  CloudParty::Responses::Zones.new(:get, '/zones', self.class.get('/zones'), @options)
37
37
  end
38
-
38
+ def delete(id)
39
+ CloudParty::Responses::Zones.new(:delete, '/zones/:id', self.class.delete(""))
40
+ end
39
41
  def get(id)
40
42
  CloudParty::Responses::Zones.new(:get, '/zones/:id', self.class.get("/zones/#{id}"), @options)
41
43
  end
@@ -1,5 +1,5 @@
1
- # frozen_string_literal: true
2
-
3
- module CloudParty
4
- VERSION = '0.1.6'
5
- end
1
+ # frozen_string_literal: true
2
+
3
+ module CloudParty
4
+ VERSION = '0.1.7'
5
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud_party
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Spencer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-14 00:00:00.000000000 Z
11
+ date: 2020-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler