Class: CloudFlare::Connection
- Inherits:
-
Object
- Object
- CloudFlare::Connection
- Defined in:
- lib/cloudflare/monkeypatches.rb
Instance Method Summary collapse
Instance Method Details
#rec_new(zone, type, name, content, ttl, prio = nil, service = nil, srvname = nil, protocol = nil, weight = nil, port = nil, target = nil, service_mode = '1') ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/cloudflare/monkeypatches.rb', line 5 def rec_new(zone, type, name, content, ttl, prio = nil, service = nil, srvname = nil, protocol = nil, weight = nil, port = nil, target = nil, service_mode = '1') send_req({ a: :rec_new, z: zone, type: type, name: name, content: content, ttl: ttl, prio: prio, service: service, srvname: srvname, protocol: protocol, weight: weight, port: port, target: target, service_mode: service_mode }) end |