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