Sha256: ae5a276353f94458370f625fab7943289431693e374b442563004679e586741b
Contents?: true
Size: 281 Bytes
Versions: 17
Compression:
Stored size: 281 Bytes
Contents
module PushbulletRuby class Token def self.load(filename = 'token.json') begin File.open(File.expand_path(filename), 'r') do |f| JSON.parse(f.read)['token'] end rescue => error puts error end end end end
Version data entries
17 entries across 16 versions & 2 rubygems