Sha256: 60bce17f4aa0e63c3bb428f689c73550123d1ab894e2959b3f7b649d62bfc526
Contents?: true
Size: 290 Bytes
Versions: 2
Compression:
Stored size: 290 Bytes
Contents
class CredentialsProvider requires :configuration def value if configuration.username Map(username: configuration.username, api_key: configuration.api_key, rackspace_region: configuration.region) else fail Rumm::LoginRequired, "login required" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rumm-0.1.0 | app/providers/credentials_provider.rb |
rumm-0.0.24 | app/providers/credentials_provider.rb |