module Artifactory::Configurable
Direct including types
Defined in:
artifactory/configurable.crConstant Summary
-
KEYS =
{:endpoint => String, :username => ::Union(String, ::Nil), :password => ::Union(String, ::Nil), :api_key => ::Union(String, ::Nil), :access_token => ::Union(String, ::Nil), :ssl_verify => Bool, :ssl_pem_file => ::Union(String, ::Nil), :read_timeout => Int32}
Class Method Summary
Instance Method Summary
- #[](key)
- #[]?(key)
- #access_token : Union(String, Nil)
- #access_token=(access_token : Union(String, Nil))
- #api_key : Union(String, Nil)
- #api_key=(api_key : Union(String, Nil))
-
#configure(&)
Set the configuration for this config, using a block.
- #endpoint : String
- #endpoint=(endpoint : String)
- #password : Union(String, Nil)
- #password=(password : Union(String, Nil))
- #read_timeout : Int32
- #read_timeout=(read_timeout : Int32)
- #reset!
- #ssl_pem_file : Union(String, Nil)
- #ssl_pem_file=(ssl_pem_file : Union(String, Nil))
- #ssl_verify : Bool
- #ssl_verify=(ssl_verify : Bool)
- #username : Union(String, Nil)
- #username=(username : Union(String, Nil))
Class Method Detail
Instance Method Detail
def configure(&)
#
Set the configuration for this config, using a block.
Configure the API endpoint
Artifactory.configure do |config|
config.endpoint = "http://www.my-artifactory-server.com/artifactory"
end