(api_key:,
destination:,
distribution:,
pattern: nil,
prefix: nil,
target: nil,
rc: ni
| 914 | include ArtifactoryPath |
| 915 | |
| 916 | def initialize(api_key:, |
| 917 | destination:, |
| 918 | distribution:, |
| 919 | pattern: nil, |
| 920 | prefix: nil, |
| 921 | target: nil, |
| 922 | rc: nil, |
| 923 | staging: false) |
| 924 | @api_key = api_key |
| 925 | @destination = destination |
| 926 | @distribution = distribution |
| 927 | @pattern = pattern |
| 928 | @prefix = prefix |
| 929 | @target = target |
| 930 | if @target == :rc |
| 931 | @rc = rc |
| 932 | else |
| 933 | @rc = nil |
| 934 | end |
| 935 | @staging = staging |
| 936 | end |
| 937 | |
| 938 | private |
| 939 | def open_client_pool(prefix, &block) |
nothing calls this directly
no outgoing calls
no test coverage detected