Class: Ilkbyte::Domain
Instance Method Summary collapse
- #add(domain, query) ⇒ Object
- #all ⇒ Object
- #create(query) ⇒ Object
- #delete(domain) ⇒ Object
- #push(domain) ⇒ Object
- #show(domain) ⇒ Object
- #update(domain, query) ⇒ Object
Methods inherited from Base
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 |
#all ⇒ Object
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 |