Class: ArtifactoryApi
- Inherits:
-
Object
- Object
- ArtifactoryApi
- Includes:
- Artifactory::Resource
- Defined in:
- lib/artifactory_api.rb
Instance Attribute Summary collapse
-
#api ⇒ Object
readonly
Returns the value of attribute api.
Instance Method Summary collapse
-
#initialize ⇒ ArtifactoryApi
constructor
A new instance of ArtifactoryApi.
Constructor Details
#initialize ⇒ ArtifactoryApi
Returns a new instance of ArtifactoryApi.
5 6 7 8 9 10 11 |
# File 'lib/artifactory_api.rb', line 5 def initialize @api = Artifactory::Client.new( endpoint: ConfigStore.artifactory.url, username: ConfigStore.artifactory.user, password: ConfigStore.artifactory.pass ) end |
Instance Attribute Details
#api ⇒ Object (readonly)
Returns the value of attribute api.
3 4 5 |
# File 'lib/artifactory_api.rb', line 3 def api @api end |