name_dot_com_api 0.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/lib/name_dot_com_api/client.rb +1 -1
- data/lib/name_dot_com_api/version.rb +1 -1
- metadata +7 -7
data/.gitignore
CHANGED
@@ -131,7 +131,7 @@ module NameDotComApi
|
|
131
131
|
# 'email' => 'john@example.net'
|
132
132
|
# }
|
133
133
|
# ])
|
134
|
-
def create_domain(domain, period, nameservers, contacts)
|
134
|
+
def create_domain(domain, period = 1, nameservers = nil, contacts = nil)
|
135
135
|
connection.post '/domain/create', {
|
136
136
|
'domain_name' => domain,
|
137
137
|
'period' => period,
|
metadata
CHANGED
@@ -4,8 +4,8 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
version: "0.
|
7
|
+
- 3
|
8
|
+
version: "0.3"
|
9
9
|
platform: ruby
|
10
10
|
authors:
|
11
11
|
- Nicholas Barthelemy
|
@@ -13,13 +13,11 @@ autorequire:
|
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
15
|
|
16
|
-
date: 2011-
|
16
|
+
date: 2011-12-13 00:00:00 -06:00
|
17
17
|
default_executable:
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
|
-
|
21
|
-
prerelease: false
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
21
|
requirements:
|
24
22
|
- - ">="
|
25
23
|
- !ruby/object:Gem::Version
|
@@ -28,8 +26,10 @@ dependencies:
|
|
28
26
|
- 0
|
29
27
|
- 0
|
30
28
|
version: 1.0.0
|
29
|
+
requirement: *id001
|
30
|
+
name: bundler
|
31
|
+
prerelease: false
|
31
32
|
type: :development
|
32
|
-
version_requirements: *id001
|
33
33
|
description: This gem allows you to interact with the name.com api via ruby.
|
34
34
|
email:
|
35
35
|
- nicholas.barthelemy@gmail.com
|