Sha256: 7ec71204e332a4f7d728840d24984462c3c1eee330c945b4fc5b4649dd2569ba
Contents?: true
Size: 860 Bytes
Versions: 6
Compression:
Stored size: 860 Bytes
Contents
module Fog module DNSimple class DNS class Real # Gets record from given domain. # # ==== Parameters # * domain<~String> # * record_id<~String> # ==== Returns # * response<~Excon::Response>: # * record<~Hash> # * name<~String> # * ttl<~Integer> # * created_at<~String> # * special_type<~String> # * updated_at<~String> # * domain_id<~Integer> # * id<~Integer> # * content<~String> # * record_type<~String> # * prio<~Integer> def get_record(domain, record_id) request( :expects => 200, :method => "GET", :path => "/domains/#{domain}/records/#{record_id}" ) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems