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