Class: Files::CustomDomainForProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/files.com/models/custom_domain_for_proxy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}, options = {}) ⇒ CustomDomainForProxy

Returns a new instance of CustomDomainForProxy.



7
8
9
10
# File 'lib/files.com/models/custom_domain_for_proxy.rb', line 7

def initialize(attributes = {}, options = {})
  @attributes = attributes || {}
  @options = options || {}
end

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



5
6
7
# File 'lib/files.com/models/custom_domain_for_proxy.rb', line 5

def attributes
  @attributes
end

#optionsObject (readonly)

Returns the value of attribute options.



5
6
7
# File 'lib/files.com/models/custom_domain_for_proxy.rb', line 5

def options
  @options
end

Instance Method Details

#certificateObject

string - The text of the certificate itself.



33
34
35
# File 'lib/files.com/models/custom_domain_for_proxy.rb', line 33

def certificate
  @attributes[:certificate]
end

#destinationObject

string - Routing destination: site_alias, public_hosting, or s3_endpoint.



23
24
25
# File 'lib/files.com/models/custom_domain_for_proxy.rb', line 23

def destination
  @attributes[:destination]
end

#domainObject

string - Customer-owned domain name.



18
19
20
# File 'lib/files.com/models/custom_domain_for_proxy.rb', line 18

def domain
  @attributes[:domain]
end

#idObject

int64 - Custom Domain ID.



13
14
15
# File 'lib/files.com/models/custom_domain_for_proxy.rb', line 13

def id
  @attributes[:id]
end

#intermediatesObject

string - Intermediate certificates, if available.



43
44
45
# File 'lib/files.com/models/custom_domain_for_proxy.rb', line 43

def intermediates
  @attributes[:intermediates]
end

#private_keyObject

string - Private key used to generate the certificate.



38
39
40
# File 'lib/files.com/models/custom_domain_for_proxy.rb', line 38

def private_key
  @attributes[:private_key]
end

#ssl_certificate_idObject

int64 - Attached SslCertificate ID.



28
29
30
# File 'lib/files.com/models/custom_domain_for_proxy.rb', line 28

def ssl_certificate_id
  @attributes[:ssl_certificate_id]
end