class Blobsterix::S3Auth::KeyStore

Public Class Methods

new(keys={}) click to toggle source
# File lib/blobsterix/s3/s3_auth_key_store.rb, line 4
def initialize(keys={})
  @keys = keys
  @keys.default=""
end

Public Instance Methods

get_key(id) click to toggle source

if no key is found it should return an empty string

# File lib/blobsterix/s3/s3_auth_key_store.rb, line 9
def get_key(id)
  @keys[id]
end