dslimple 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dslimple/query.rb +3 -3
- data/lib/dslimple/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb06c08d78c0cc73f8b0f9d94bbb99123ee91ad9e384cbfdb0333f29bea1b45e
|
4
|
+
data.tar.gz: dd0e0fa228e3f018236352d219f79ac55cabf644210da33d13b166781784366d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8adc03921148a9e4627bbcdf7327992a05fd2a2d40cd5615c9c18861e0053a80a94432fbba314a96946ca013f4b8376beca5d3e667be52b9af04c3874d39a8fc
|
7
|
+
data.tar.gz: b3528242750b2c2611847a64ecd3de343bcf1493ba172326660424b0c89282ce67265d56c8636d28f68d8068732acb352676847d7e6b109b7ea8a16a95a53e79
|
data/lib/dslimple/query.rb
CHANGED
@@ -52,11 +52,11 @@ class Dslimple::Query
|
|
52
52
|
def execute_record(api_client, account_id)
|
53
53
|
case operation
|
54
54
|
when :addition
|
55
|
-
api_client.zones.
|
55
|
+
api_client.zones.create_zone_record(account_id, zone, params)
|
56
56
|
when :modification
|
57
|
-
api_client.zones.
|
57
|
+
api_client.zones.update_zone_record(account_id, zone, params[:id], params)
|
58
58
|
when :deletion
|
59
|
-
api_client.zones.
|
59
|
+
api_client.zones.delete_zone_record(account_id, zone, params[:id])
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|
data/lib/dslimple/version.rb
CHANGED