Class: UffizziCore::Credential
Defined Under Namespace
Classes: Amazon, Azure, DockerHub, Github, GithubContainerRegistry, Google
Instance Method Summary
collapse
Instance Method Details
#amazon? ⇒ Boolean
45
46
47
|
# File 'app/models/uffizzi_core/credential.rb', line 45
def amazon?
type == UffizziCore::Credential::Amazon.name
end
|
#azure? ⇒ Boolean
37
38
39
|
# File 'app/models/uffizzi_core/credential.rb', line 37
def azure?
type == UffizziCore::Credential::Azure.name
end
|
#docker_hub? ⇒ Boolean
33
34
35
|
# File 'app/models/uffizzi_core/credential.rb', line 33
def docker_hub?
type == UffizziCore::Credential::DockerHub.name
end
|
#github_container_registry? ⇒ Boolean
29
30
31
|
# File 'app/models/uffizzi_core/credential.rb', line 29
def github_container_registry?
type == UffizziCore::Credential::GithubContainerRegistry.name
end
|
#google? ⇒ Boolean
41
42
43
|
# File 'app/models/uffizzi_core/credential.rb', line 41
def google?
type == UffizziCore::Credential::Google.name
end
|