Class: IOSCertEnrollment::Certificate
- Inherits:
-
Object
- Object
- IOSCertEnrollment::Certificate
- Defined in:
- lib/ios-cert-enrollment/certificate.rb
Instance Attribute Summary collapse
-
#certificate ⇒ Object
Returns the value of attribute certificate.
-
#mime_type ⇒ Object
Returns the value of attribute mime_type.
Instance Method Summary collapse
-
#initialize(certificate, mime_type) ⇒ Certificate
constructor
A new instance of Certificate.
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
#certificate ⇒ Object
Returns the value of attribute certificate.
7 8 9 |
# File 'lib/ios-cert-enrollment/certificate.rb', line 7 def certificate @certificate end |
#mime_type ⇒ Object
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 |