dnsmadeeasyapi-good 1.0.0 → 1.0.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/Gemfile.lock +1 -1
- data/Rakefile +2 -0
- data/dnsmadeeasyapi.gemspec +1 -1
- data/lib/dnsmadeeasyapi-good.rb +2 -2
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c411c3fb78dee55639d65fb1c3e1487bb6843c20
|
|
4
|
+
data.tar.gz: d02b05a9b100de88926576e3a85ba2e9654e7a30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1e90fb753c91550209fd91aa5e7eaf596aa16893a0ec5f7b08cc41476b05d6095aeb9959175d13e610491ca11356ae2e538be4221f7b8c2b84444e04d0855c4e
|
|
7
|
+
data.tar.gz: 1068ecc123e0a5e38d4f6fde543185db4113b1231bc49f4576d84ceceeb6214fa80b7450c77ceff481b37bb629dfd2cff8aa57f463212c41b26649c6271fc515
|
data/Gemfile.lock
CHANGED
data/Rakefile
ADDED
data/dnsmadeeasyapi.gemspec
CHANGED
data/lib/dnsmadeeasyapi-good.rb
CHANGED
|
@@ -77,7 +77,7 @@ class Dnsmadeeasyapi
|
|
|
77
77
|
|
|
78
78
|
def create_record(domain_name, name, type, value, options = {})
|
|
79
79
|
body = {"name" => name, "type" => type, "value" => value, "ttl" => 3600, "gtdLocation" => "DEFAULT"}
|
|
80
|
-
post "/dns/managed/#{get_id_by_domain(domain_name)}/records/",
|
|
80
|
+
post "/dns/managed/#{get_id_by_domain(domain_name)}/records/", body.merge(options)
|
|
81
81
|
end
|
|
82
82
|
|
|
83
83
|
def create_a_record(domain_name, name, value, options = {})
|
|
@@ -132,7 +132,7 @@ class Dnsmadeeasyapi
|
|
|
132
132
|
|
|
133
133
|
def update_record(domain, record_id, name, type, value, options = {})
|
|
134
134
|
body = { "name" => name, "type" => type, "value" => value, "ttl" => 3600, "gtdLocation" => "DEFAULT", "id" => record_id}
|
|
135
|
-
put "/dns/managed/#{get_id_by_domain(domain)}/records/#{record_id}/",
|
|
135
|
+
put "/dns/managed/#{get_id_by_domain(domain)}/records/#{record_id}/", body.merge(options)
|
|
136
136
|
end
|
|
137
137
|
|
|
138
138
|
private
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dnsmadeeasyapi-good
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Paul Henry
|
|
@@ -50,6 +50,7 @@ files:
|
|
|
50
50
|
- Gemfile
|
|
51
51
|
- Gemfile.lock
|
|
52
52
|
- README.md
|
|
53
|
+
- Rakefile
|
|
53
54
|
- dnsmadeeasyapi.gemspec
|
|
54
55
|
- lib/dnsmadeeasyapi-good.rb
|
|
55
56
|
- spec/lib/dnsmadeeasyapi-good_spec.rb
|