Method: Fog::DNS::Rage4::Real#set_record_failover
- Defined in:
- lib/fog/rage4/requests/dns/set_record_failover.rb
#set_record_failover(id, active, failover) ⇒ Object
Set a failover to on or off
Parameters
-
id<~Integer> - numeric ID
Returns
-
response<~Excon::Response>:
-
body<~Hash>:
* 'status'<~Boolean> * 'id'<~Integer> * 'error'<~String>
-
15 16 17 18 19 20 21 |
# File 'lib/fog/rage4/requests/dns/set_record_failover.rb', line 15 def set_record_failover(id, active, failover) request( :expects => 200, :method => 'GET', :path => "/rapi/setrecordfailover/#{id}&active=#{active}&failover=#{failover}" ) end |