Sha256: dcfbd5f353d8cd1fda194c60b06039410bdc0e5c4203f7b963e7f525c3bbad81
Contents?: true
Size: 257 Bytes
Versions: 21
Compression:
Stored size: 257 Bytes
Contents
require 'netrc' class CredentialsProvider def value if creds = Netrc.read['api.rackspace.com'] Map(username: creds.first, api_key: creds.last, rackspace_region: :ord) else fail Rumm::LoginRequired, "login required" end end end
Version data entries
21 entries across 21 versions & 1 rubygems