Module: TinyAppstoreConnect::Client::Certificate
- Included in:
- TinyAppstoreConnect::Client
- Defined in:
- lib/tiny_appstore_connect/clients/certificate.rb
Instance Method Summary collapse
- #certificate(id, **query) ⇒ Object
- #certificates(**query) ⇒ Object
- #distribution_certificates(**query) ⇒ Object
Instance Method Details
#certificate(id, **query) ⇒ Object
12 13 14 |
# File 'lib/tiny_appstore_connect/clients/certificate.rb', line 12 def certificate(id, **query) get("certificates/#{id}", **query).to_model end |
#certificates(**query) ⇒ Object
8 9 10 |
# File 'lib/tiny_appstore_connect/clients/certificate.rb', line 8 def certificates(**query) get('certificates', **query) end |
#distribution_certificates(**query) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/tiny_appstore_connect/clients/certificate.rb', line 16 def distribution_certificates(**query) query[:filter] = { certificateType: [ TinyAppstoreConnect::Model::Certificate::CertificateType::DISTRIBUTION, TinyAppstoreConnect::Model::Certificate::CertificateType::IOS_DISTRIBUTION, TinyAppstoreConnect::Model::Certificate::CertificateType::MAC_APP_DISTRIBUTION ].join(',') } certificates(**query) end |