Class: Kloxo::API::Client::DeleteDomain
- Defined in:
- lib/kloxo/api/client/delete_domain.rb
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#parent_name ⇒ Object
Returns the value of attribute parent_name.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ DeleteDomain
constructor
A new instance of DeleteDomain.
- #param ⇒ Object
Constructor Details
#initialize(params = {}) ⇒ DeleteDomain
Returns a new instance of DeleteDomain.
7 8 9 10 |
# File 'lib/kloxo/api/client/delete_domain.rb', line 7 def initialize params = {} self.parent_name = params[:parent_name] self.domain = params[:domain] end |
Instance Attribute Details
#domain ⇒ Object
Returns the value of attribute domain.
5 6 7 |
# File 'lib/kloxo/api/client/delete_domain.rb', line 5 def domain @domain end |
#parent_name ⇒ Object
Returns the value of attribute parent_name.
5 6 7 |
# File 'lib/kloxo/api/client/delete_domain.rb', line 5 def parent_name @parent_name end |
Instance Method Details
#param ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/kloxo/api/client/delete_domain.rb', line 12 def param { "action" => "delete", "parent-class" => "client", "parent-name" => self.parent_name, "class" => "domain", "name" => self.domain }.to_param end |