Module: Eaglenube::ApiWrapper::AWS::AcmCertificate
- Included in:
- Synchronizer::AWS::AcmCertificate::AcmSyncMethods
- Defined in:
- lib/eaglenube/api_wrapper/aws/acm_certificate.rb
Instance Method Summary collapse
- #describe_certificate(credential, region_code, certificate_arn) ⇒ Object
- #get_certificate(credential, region_code, certificate_arn) ⇒ Object
- #list_certificates(credential, region_code) ⇒ Object
Instance Method Details
#describe_certificate(credential, region_code, certificate_arn) ⇒ Object
20 21 22 23 |
# File 'lib/eaglenube/api_wrapper/aws/acm_certificate.rb', line 20 def describe_certificate(credential, region_code, certificate_arn) agent = Eaglenube::AWSAgent.get_acm_agent(credential, region_code) agent.describe_certificate({ certificate_arn: certificate_arn }) end |
#get_certificate(credential, region_code, certificate_arn) ⇒ Object
15 16 17 18 |
# File 'lib/eaglenube/api_wrapper/aws/acm_certificate.rb', line 15 def get_certificate(credential, region_code, certificate_arn) agent = Eaglenube::AWSAgent.get_acm_agent(credential, region_code) agent.get_certificate({ certificate_arn: certificate_arn }) end |
#list_certificates(credential, region_code) ⇒ Object
10 11 12 13 |
# File 'lib/eaglenube/api_wrapper/aws/acm_certificate.rb', line 10 def list_certificates(credential, region_code) agent = Eaglenube::AWSAgent.get_acm_agent(credential, region_code) agent.list_certificates.try(:certificate_summary_list) end |