Class: PleskLib::Subscription

Inherits:
Object
  • Object
show all
Defined in:
lib/plesk_lib/subscription.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Subscription

Returns a new instance of Subscription.



8
9
10
11
12
# File 'lib/plesk_lib/subscription.rb', line 8

def initialize(attributes = {})
  attributes.each_pair do |key, value|
    send("#{key}=", value)
  end if attributes.present?
end

Instance Attribute Details

#customer_account_idObject

Returns the value of attribute customer_account_id.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def 
  @customer_account_id
end

#external_idObject

Returns the value of attribute external_id.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def external_id
  @external_id
end

#ftp_loginObject

Returns the value of attribute ftp_login.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def 
  @ftp_login
end

#ftp_passwordObject

Returns the value of attribute ftp_password.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def ftp_password
  @ftp_password
end

#guidObject

Returns the value of attribute guid.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def guid
  @guid
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def id
  @id
end

#ip_addressObject

Returns the value of attribute ip_address.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def ip_address
  @ip_address
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def name
  @name
end

#owner_idObject

Returns the value of attribute owner_id.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def owner_id
  @owner_id
end

#owner_loginObject

Returns the value of attribute owner_login.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def 
  @owner_login
end

#reseller_account_idObject

Returns the value of attribute reseller_account_id.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def 
  @reseller_account_id
end

#service_plan_idObject

Returns the value of attribute service_plan_id.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def service_plan_id
  @service_plan_id
end

#service_plan_nameObject

Returns the value of attribute service_plan_name.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def service_plan_name
  @service_plan_name
end

#vendor_guidObject

Returns the value of attribute vendor_guid.



3
4
5
# File 'lib/plesk_lib/subscription.rb', line 3

def vendor_guid
  @vendor_guid
end