Class: CpanelRuby::API::Account::CreateAccount
- Defined in:
- lib/cpanel_ruby/api/account/create_account.rb
Instance Attribute Summary collapse
-
#bwlimit ⇒ Object
Returns the value of attribute bwlimit.
-
#cgi ⇒ Object
Returns the value of attribute cgi.
-
#contactemail ⇒ Object
Returns the value of attribute contactemail.
-
#cpmod ⇒ Object
Returns the value of attribute cpmod.
-
#customip ⇒ Object
Returns the value of attribute customip.
-
#dkim ⇒ Object
Returns the value of attribute dkim.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#featurelist ⇒ Object
Returns the value of attribute featurelist.
-
#forcedns ⇒ Object
Returns the value of attribute forcedns.
-
#frontpage ⇒ Object
Returns the value of attribute frontpage.
-
#gid ⇒ Object
Returns the value of attribute gid.
-
#hasshell ⇒ Object
Returns the value of attribute hasshell.
-
#hasuseregns ⇒ Object
Returns the value of attribute hasuseregns.
-
#homedir ⇒ Object
Returns the value of attribute homedir.
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#language ⇒ Object
Returns the value of attribute language.
-
#mailbox_format ⇒ Object
Returns the value of attribute mailbox_format.
-
#max_defer_fail_percentage ⇒ Object
Returns the value of attribute max_defer_fail_percentage.
-
#max_email_per_hour ⇒ Object
Returns the value of attribute max_email_per_hour.
-
#max_emailacct_quota ⇒ Object
Returns the value of attribute max_emailacct_quota.
-
#maxaddon ⇒ Object
Returns the value of attribute maxaddon.
-
#maxftp ⇒ Object
Returns the value of attribute maxftp.
-
#maxlst ⇒ Object
Returns the value of attribute maxlst.
-
#maxpark ⇒ Object
Returns the value of attribute maxpark.
-
#maxpop ⇒ Object
Returns the value of attribute maxpop.
-
#maxsql ⇒ Object
Returns the value of attribute maxsql.
-
#maxsub ⇒ Object
Returns the value of attribute maxsub.
-
#mxcheck ⇒ Object
Returns the value of attribute mxcheck.
-
#owner ⇒ Object
Returns the value of attribute owner.
-
#password ⇒ Object
Returns the value of attribute password.
-
#pkgname ⇒ Object
Returns the value of attribute pkgname.
-
#plan ⇒ Object
Returns the value of attribute plan.
-
#quota ⇒ Object
Returns the value of attribute quota.
-
#reseller ⇒ Object
Returns the value of attribute reseller.
-
#savepkg ⇒ Object
Returns the value of attribute savepkg.
-
#spamassassin ⇒ Object
Returns the value of attribute spamassassin.
-
#spf ⇒ Object
Returns the value of attribute spf.
-
#uid ⇒ Object
Returns the value of attribute uid.
-
#useregns ⇒ Object
Returns the value of attribute useregns.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ CreateAccount
constructor
A new instance of CreateAccount.
- #param ⇒ Object
Constructor Details
#initialize(params = {}) ⇒ CreateAccount
Returns a new instance of CreateAccount.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 13 def initialize params = {} self.username = params[:username] self.domain = params[:domain] self.plan = params[:plan] self.pkgname = params[:pkgname] self.savepkg = params[:savepkg] self.featurelist = params[:featurelist] self.quota = params[:quota] self.password = params[:password] self.ip = params[:ip] self.cgi = params[:cgi] self.spamassassin = params[:spamassassin] self.frontpage = params[:frontpage] self.hasshell = params[:hasshell] self.contactemail = params[:contactemail] self.cpmod = params[:cpmod] self.maxftp = params[:maxftp] self.maxsql = params[:maxsql] self.maxpop = params[:maxpop] self.maxlst = params[:maxlst] self.maxsub = params[:maxsub] self.maxpark = params[:maxpark] self.maxaddon = params[:maxaddon] self.bwlimit = params[:bwlimit] self.customip = params[:customip] self.language = params[:language] self.useregns = params[:useregns] self.hasuseregns = params[:hasuseregns] self.reseller = params[:reseller] self.forcedns = params[:forcedns] self.mailbox_format = params[:mailbox_format] self.mxcheck = params[:mxcheck] self.max_email_per_hour = params[:max_email_per_hour] self.max_emailacct_quota = params[:max_emailacct_quota] self.max_defer_fail_percentage = params[:max_defer_fail_percentage] self.uid = params[:uid] self.gid = params[:gid] self.homedir = params[:homedir] self.dkim = params[:dkim] self.spf = params[:spf] self.owner = params[:owner] end |
Instance Attribute Details
#bwlimit ⇒ Object
Returns the value of attribute bwlimit.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def bwlimit @bwlimit end |
#cgi ⇒ Object
Returns the value of attribute cgi.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def cgi @cgi end |
#contactemail ⇒ Object
Returns the value of attribute contactemail.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def contactemail @contactemail end |
#cpmod ⇒ Object
Returns the value of attribute cpmod.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def cpmod @cpmod end |
#customip ⇒ Object
Returns the value of attribute customip.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def customip @customip end |
#dkim ⇒ Object
Returns the value of attribute dkim.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def dkim @dkim end |
#domain ⇒ Object
Returns the value of attribute domain.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def domain @domain end |
#featurelist ⇒ Object
Returns the value of attribute featurelist.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def featurelist @featurelist end |
#forcedns ⇒ Object
Returns the value of attribute forcedns.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def forcedns @forcedns end |
#frontpage ⇒ Object
Returns the value of attribute frontpage.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def frontpage @frontpage end |
#gid ⇒ Object
Returns the value of attribute gid.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def gid @gid end |
#hasshell ⇒ Object
Returns the value of attribute hasshell.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def hasshell @hasshell end |
#hasuseregns ⇒ Object
Returns the value of attribute hasuseregns.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def hasuseregns @hasuseregns end |
#homedir ⇒ Object
Returns the value of attribute homedir.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def homedir @homedir end |
#ip ⇒ Object
Returns the value of attribute ip.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def ip @ip end |
#language ⇒ Object
Returns the value of attribute language.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def language @language end |
#mailbox_format ⇒ Object
Returns the value of attribute mailbox_format.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def mailbox_format @mailbox_format end |
#max_defer_fail_percentage ⇒ Object
Returns the value of attribute max_defer_fail_percentage.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def max_defer_fail_percentage @max_defer_fail_percentage end |
#max_email_per_hour ⇒ Object
Returns the value of attribute max_email_per_hour.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def max_email_per_hour @max_email_per_hour end |
#max_emailacct_quota ⇒ Object
Returns the value of attribute max_emailacct_quota.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def max_emailacct_quota @max_emailacct_quota end |
#maxaddon ⇒ Object
Returns the value of attribute maxaddon.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def maxaddon @maxaddon end |
#maxftp ⇒ Object
Returns the value of attribute maxftp.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def maxftp @maxftp end |
#maxlst ⇒ Object
Returns the value of attribute maxlst.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def maxlst @maxlst end |
#maxpark ⇒ Object
Returns the value of attribute maxpark.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def maxpark @maxpark end |
#maxpop ⇒ Object
Returns the value of attribute maxpop.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def maxpop @maxpop end |
#maxsql ⇒ Object
Returns the value of attribute maxsql.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def maxsql @maxsql end |
#maxsub ⇒ Object
Returns the value of attribute maxsub.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def maxsub @maxsub end |
#mxcheck ⇒ Object
Returns the value of attribute mxcheck.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def mxcheck @mxcheck end |
#owner ⇒ Object
Returns the value of attribute owner.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def owner @owner end |
#password ⇒ Object
Returns the value of attribute password.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def password @password end |
#pkgname ⇒ Object
Returns the value of attribute pkgname.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def pkgname @pkgname end |
#plan ⇒ Object
Returns the value of attribute plan.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def plan @plan end |
#quota ⇒ Object
Returns the value of attribute quota.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def quota @quota end |
#reseller ⇒ Object
Returns the value of attribute reseller.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def reseller @reseller end |
#savepkg ⇒ Object
Returns the value of attribute savepkg.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def savepkg @savepkg end |
#spamassassin ⇒ Object
Returns the value of attribute spamassassin.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def spamassassin @spamassassin end |
#spf ⇒ Object
Returns the value of attribute spf.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def spf @spf end |
#uid ⇒ Object
Returns the value of attribute uid.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def uid @uid end |
#useregns ⇒ Object
Returns the value of attribute useregns.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def useregns @useregns end |
#username ⇒ Object
Returns the value of attribute username.
5 6 7 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 5 def username @username end |
Instance Method Details
#param ⇒ Object
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/cpanel_ruby/api/account/create_account.rb', line 56 def param { username: self.username, domain: self.domain, plan: self.plan, pkgname: self.pkgname, savepkg: self.savepkg, featurelist: self.featurelist, quota: self.quota, password: self.password, ip: self.ip, cgi: self.cgi, spamassassin: self.spamassassin, frontpage: self.frontpage, hasshell: self.hasshell, contactemail: self.contactemail, cpmod: self.cpmod, maxftp: self.maxftp, maxsql: self.maxsql, maxpop: self.maxpop, maxlst: self.maxlst, maxsub: self.maxsub, maxpark: self.maxpark, maxaddon: self.maxaddon, bwlimit: self.bwlimit, customip: self.customip, language: self.language, useregns: self.useregns, hasuseregns: self.hasuseregns, reseller: self.reseller, forcedns: self.forcedns, mailbox_format: self.mailbox_format, mxcheck: self.mxcheck, max_email_per_hour: self.max_email_per_hour, max_emailacct_quota: self.max_emailacct_quota, max_defer_fail_percentage: self.max_defer_fail_percentage, uid: self.uid, gid: self.gid, homedir: self.homedir, dkim: self.dkim, spf: self.spf, owner: self.owner } end |