Class: IOSCertEnrollment::Certificate

Inherits:
Object
  • Object
show all
Defined in:
lib/ios-cert-enrollment/certificate.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(certificate, mime_type) ⇒ Certificate

Returns a new instance of Certificate.



9
10
11
12
13
# File 'lib/ios-cert-enrollment/certificate.rb', line 9

def initialize(certificate,mime_type)
  self.certificate = certificate
  self.mime_type = mime_type
  
end

Instance Attribute Details

#certificateObject

Returns the value of attribute certificate.



7
8
9
# File 'lib/ios-cert-enrollment/certificate.rb', line 7

def certificate
  @certificate
end

#mime_typeObject

Returns the value of attribute mime_type.



7
8
9
# File 'lib/ios-cert-enrollment/certificate.rb', line 7

def mime_type
  @mime_type
end