lib/fog/dynect/requests/dns/post_zone.rb in fog-1.3.1 vs lib/fog/dynect/requests/dns/post_zone.rb in fog-1.4.0
- old
+ new
@@ -11,10 +11,10 @@
# * zone<~String> - name of zone to host
# * options<~Hash>:
# * serial_style<~String> - style of serial number, in ['day', 'epoch', 'increment', 'minute']. Defaults to increment
def post_zone(rname, ttl, zone, options = {})
- body = MultiJson.encode({
+ body = Fog::JSON.encode({
:rname => rname,
:token => auth_token,
:ttl => ttl
}.merge!(options))