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