Class: Passdb::Entry

Inherits:
Object
  • Object
show all
Defined in:
lib/passdb/entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEntry

Returns a new instance of Entry.



5
6
7
# File 'lib/passdb/entry.rb', line 5

def initialize()
  self.attributes = {}
end

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



4
5
6
# File 'lib/passdb/entry.rb', line 4

def attributes
  @attributes
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/passdb/entry.rb', line 4

def name
  @name
end

#vendorObject

Returns the value of attribute vendor.



4
5
6
# File 'lib/passdb/entry.rb', line 4

def vendor
  @vendor
end