Class: Leeloo::Keystore

Inherits:
Object
  • Object
show all
Defined in:
lib/leeloo/keystore.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Keystore

Returns a new instance of Keystore.



31
32
33
# File 'lib/leeloo/keystore.rb', line 31

def initialize name
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



29
30
31
# File 'lib/leeloo/keystore.rb', line 29

def name
  @name
end

Instance Method Details

#==(keystore) ⇒ Object



63
64
65
# File 'lib/leeloo/keystore.rb', line 63

def == keystore
  self.name == keystore.name
end

#footprint(name) ⇒ Object



55
56
57
# File 'lib/leeloo/keystore.rb', line 55

def footprint name
  # footprint a given secret path
end

#initObject



51
52
53
# File 'lib/leeloo/keystore.rb', line 51

def init
  # initialize the keystore
end

#secret_from_footprint(footprint) ⇒ Object



59
60
61
# File 'lib/leeloo/keystore.rb', line 59

def secret_from_footprint footprint
  # returns a secret object
end

#secret_from_name(name) ⇒ Object



43
44
45
# File 'lib/leeloo/keystore.rb', line 43

def secret_from_name name
  # returns a secret object
end

#secret_of(path) ⇒ Object



39
40
41
# File 'lib/leeloo/keystore.rb', line 39

def secret_of path
  # returns a secret object
end

#secretsObject



35
36
37
# File 'lib/leeloo/keystore.rb', line 35

def secrets
  # returns the secrets list
end

#syncObject



47
48
49
# File 'lib/leeloo/keystore.rb', line 47

def sync
  # synchronizes the keystore
end