-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathREADME
More file actions
31 lines (25 loc) · 777 Bytes
/
Copy pathREADME
File metadata and controls
31 lines (25 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
USAGE
=====
require 'gandi'
session = Gandi::Session.connect(:login => "FO1234-GANDI", :password => "foobar")
session.password("new_password")
session.domain_list
session.account_balance
domain = "example.org"
period = 1
owner_handle = "AA1234-GANDI"
admin_handle = "BB2345-GANDI"
tech_handle = "CC3456-GANDI"
billing_handle = "DD4567-GANDI"
ns_list = ["ns1.example.net", "ns2.example.net", "ns1.example.com"]
operation = session.domain_create( domain, period,
owner_handle, admin_handle,
tech_handle, billing_handle,
ns_list)
session.operation_list :state => "PENDING"
TODO
====
Tests
Gem release
Argument checking for all Gandi methods
Documentation