module HexTokenBot
Constants
- VERSION
Attributes
bots[RW]
data_channels[RW]
tran_channels[RW]
tran_users[RW]
Public Class Methods
bots_yml=(options = {})
click to toggle source
# File lib/hex_token_bot.rb, line 13 def bots_yml=(options = {}) unless options.empty? if options[:file_bots] @bots = YAML.load(File.open(options[:file_bots])) end if options[:file_data_channels] @data_channels = YAML.load(File.open(options[:file_data_channels])) end if options[:file_tran_channels] @tran_channels = YAML.load(File.open(options[:file_tran_channels])) end if options[:file_tran_users] @tran_users = YAML.load(File.open(options[:file_tran_users])) end end end