Class: CpanelRuby::API::Account::RemoveAccount
- Defined in:
- lib/cpanel_ruby/api/account/remove_account.rb
Instance Attribute Summary collapse
-
#keepdns ⇒ Object
Returns the value of attribute keepdns.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ RemoveAccount
constructor
A new instance of RemoveAccount.
- #param ⇒ Object
Constructor Details
#initialize(params = {}) ⇒ RemoveAccount
Returns a new instance of RemoveAccount.
7 8 9 10 |
# File 'lib/cpanel_ruby/api/account/remove_account.rb', line 7 def initialize params = {} self.user = params[:user] self.keepdns = params[:keepdns] end |
Instance Attribute Details
#keepdns ⇒ Object
Returns the value of attribute keepdns.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/remove_account.rb', line 5 def keepdns @keepdns end |
#user ⇒ Object
Returns the value of attribute user.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/remove_account.rb', line 5 def user @user end |
Instance Method Details
#param ⇒ Object
12 13 14 15 16 17 |
# File 'lib/cpanel_ruby/api/account/remove_account.rb', line 12 def param { user: self.user, keepdns: self.keepdns } end |