fog/fog-dnsimple

Name: fog-dnsimple

Owner: fog

Description: Module for the 'fog' gem to support DNSimple.

Created: 2016-07-11 13:21:10.0

Updated: 2018-03-13 05:38:58.0

Pushed: 2018-02-20 16:48:10.0

Homepage: https://developer.dnsimple.com/

Size: 50

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Fog::Dnsimple

Build Status

API Version

This library currently uses the DNSimple API v2 and it is compatible with the legacy implementation bundled with the fog gem.

Installation

Add this line to your application's Gemfile:

'fog-dnsimple'

And then execute:

le

Or install it yourself as:

install fog-dnsimple
Usage

Initialize a Fog::DNS object using the DNSimple provider.

= Fog::DNS.new({
ovider:         "DNSimple",
simple_token:   "YOUR_API_TOKEN",
simple_account: "YOUR_ACCOUNT_ID",

This can then be used like other Fog DNS providers.

 = dns.zones.create(
main: "example.com"

rd = zone.records.create(
me: "foo",
lue: "1.2.3.4",
pe: "A"

The following configurations are supported:

= Fog::DNS.new({
Use dnsimple_url to provide a different base URL, e.g. the Sandbox URL
simple_url:   "https://api.sandbox.dnsimple.com/",

Contributing
  1. Fork it ( https://github.com/fog/fog-dnsimple/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 new Pull Request

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.