Class: Ilkbyte::Domain

Inherits:
Base
  • Object
show all
Defined in:
lib/ilkbyte/domain.rb

Instance Method Summary collapse

Methods inherited from Base

#request, #setOption

Instance Method Details

#add(domain, query) ⇒ Object



15
16
17
# File 'lib/ilkbyte/domain.rb', line 15

def add(domain,query)
  request("/domain/manage/#{domain}/add",query)
end

#allObject



3
4
5
# File 'lib/ilkbyte/domain.rb', line 3

def all()
  request("/domain/list")
end

#create(query) ⇒ Object



7
8
9
# File 'lib/ilkbyte/domain.rb', line 7

def create(query)
  request("/domain/create",query)
end

#delete(domain) ⇒ Object



23
24
25
# File 'lib/ilkbyte/domain.rb', line 23

def delete(domain)
  request("/domain/manage/#{domain}/delete")
end

#push(domain) ⇒ Object



27
28
29
# File 'lib/ilkbyte/domain.rb', line 27

def push(domain)
  request("/domain/manage/#{domain}/push")
end

#show(domain) ⇒ Object



11
12
13
# File 'lib/ilkbyte/domain.rb', line 11

def show(domain)
  request("/domain/manage/#{domain}/show")
end

#update(domain, query) ⇒ Object



19
20
21
# File 'lib/ilkbyte/domain.rb', line 19

def update(domain,query)
  request("/domain/manage/#{domain}/uptade",query)
end