Class: Fog::ApplicationGateway::AzureRM::SslCertificate

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/azurerm/models/application_gateway/ssl_certificate.rb

Overview

SSL Certificate model class for Application Gateway Service

Class Method Summary collapse

Class Method Details

.parse(ssl_certificate) ⇒ Object



12
13
14
15
16
17
18
19
20
# File 'lib/fog/azurerm/models/application_gateway/ssl_certificate.rb', line 12

def self.parse(ssl_certificate)
  hash = {}
  hash['id'] = ssl_certificate.id
  hash['name'] = ssl_certificate.name
  hash['data'] = ssl_certificate.data
  hash['password'] = ssl_certificate.password
  hash['public_cert_data'] = ssl_certificate.public_cert_data
  hash
end