class SaltParser::Accounts
Public Instance Methods
find(identifier)
click to toggle source
# File lib/salt-parser/accounts.rb, line 3 def find(identifier) detect { |account| account.identifier == identifier } end
to_hash()
click to toggle source
# File lib/salt-parser/accounts.rb, line 7 def to_hash map { |account| account.to_hash } end