Sha256: 8ba7737787c6a7776b3f484f7983bf19a794c65ff684e4b76ec7a84c1100d3c0

Contents?: true

Size: 714 Bytes

Versions: 59

Compression:

Stored size: 714 Bytes

Contents

module Fog
  module DNS
    class Dreamhost

      class Mock

        def create_record(record, type, value, comment = "")
          Fog::Mock.not_implemented
        end

      end

      class Real

        def create_record(record, type, value, comment = "")
          request( :expects  => 200,
                   :method   => 'GET',
                   :path     => "/",
                   :query    => { 
                     :record    => record,
                     :type      => type,
                     :value     => value,
                     :cmd       => 'dns-add_record',
                     :comment   => comment
                   }
                 )
        end

      end
    end
  end
end

Version data entries

59 entries across 59 versions & 6 rubygems

Version Path
fog-maestrodev-1.20.0.20140305101839 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.19.0.20140212012611 lib/fog/dreamhost/requests/dns/create_record.rb
fog-1.20.0 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/dreamhost/requests/dns/create_record.rb
fog-1.19.0 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.18.0.20131209090811 lib/fog/dreamhost/requests/dns/create_record.rb
fog-maestrodev-1.18.0.20131206115947 lib/fog/dreamhost/requests/dns/create_record.rb