class Keylime::FileKeychainObject

Object for stub file keychain

Attributes

fields[R]

Public Class Methods

new(params = {}) click to toggle source
# File lib/keylime/credential.rb, line 145
def initialize(params = {})
  @ref = params.delete('ref')
  @fields = params
end

Public Instance Methods

delete() click to toggle source
# File lib/keylime/credential.rb, line 150
def delete
  @ref.delete(@fields)
end
method_missing(sym, *args, &block) click to toggle source
Calls superclass method
# File lib/keylime/credential.rb, line 158
def method_missing(sym, *args, &block)
  @fields[sym.to_s] || super
end
respond_to_missing?(method, _) click to toggle source
Calls superclass method
# File lib/keylime/credential.rb, line 154
def respond_to_missing?(method, _)
  @fields.include?(method.to_s) || super
end