Sha256: 4c76864a6b64605cc13f54b938d69fb6bd8d39c00d369e94b08a98649e1d0a6a
Contents?: true
Size: 536 Bytes
Versions: 2
Compression:
Stored size: 536 Bytes
Contents
module LastKeeDiff class Entry attr_reader :group_name, :title, :username, :password, :url def initialize(group_name, title, username, password, url) @group_name = group_name @title = title @username = username @password = password @url = url end def to_s [ self.key, "Username: #{self.username}", "Password: #{self.password}", "URL: #{self.url}" ].join("\n\t") end def key "#{self.group_name}/#{self.title}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
last_kee_diff-0.1.1 | lib/last_kee_diff/entry.rb |
last_kee_diff-0.1.0 | lib/last_kee_diff/entry.rb |