Sha256: 1847468a34cddc03f9bc7539da9df75f888cb1a0271a6db683a6578f07c27712

Contents?: true

Size: 1.1 KB

Versions: 10

Compression:

Stored size: 1.1 KB

Contents

# Fog::Dynect

[![Build Status](https://travis-ci.org/fog/fog-dynect.svg?branch=master)](https://travis-ci.org/fog/fog-dynect)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'fog-dynect'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install fog-dynect

## Usage

Initialize a `Fog::DNS` object using the Dynect provider.

```ruby

dns = Fog::DNS.new({
  :provider => 'Dynect',
  :dynect_customer => 'dynect_customer',
  :dynect_username => 'dynect_username',
  :dynect_password => 'dynect_password'
})

```

This can then be used like other [Fog DNS](http://fog.io/dns/) providers.

```ruby

zone = dns.zones.create(
  :domain => 'example.com',
  :email  => 'admin@example.com'
)
record = zone.records.create(
  :value   => '1.2.3.4',
  :name => 'example.com',
  :type => 'A'
)

```

## Contributing

1. Fork it ( https://github.com/fog/fog-dynect/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Version data entries

10 entries across 8 versions & 2 rubygems

Version Path
fog-dynect-0.4.0 README.md
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-dynect-0.0.3/README.md
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-dynect-0.0.3/README.md
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-dynect-0.0.3/README.md
fog-dynect-0.3.0 README.md
fog-dynect-0.2.0 README.md
fog-dynect-0.1.0 README.md
fog-dynect-0.0.3 README.md
fog-dynect-0.0.2 README.md
fog-dynect-0.0.1 README.md