class Mayaml::Parser

Public Class Methods

get_accounts(json_file) click to toggle source
# File lib/mayaml/parser.rb, line 23
def self.get_accounts(json_file)
  YAML.load_file json_file
rescue Errno::ENOENT, Psych::SyntaxError
  []
end