Class: Bitbot::Plugin
- Inherits:
-
Object
- Object
- Bitbot::Plugin
- Includes:
- Balance, Common, Deposit, Doc, Help, History, Online, Tip, TipStats, Txfee, UpdateAddresses, UpdateExchangeRates, Withdraw, Cinch::Plugin
- Defined in:
- lib/bitbot/plugin.rb
Overview
require ‘bitbot/plugin/prize’
Instance Method Summary collapse
-
#initialize(bot) ⇒ Plugin
constructor
include Bitbot::Prize.
Methods included from Online
Methods included from Doc
Methods included from Txfee
Methods included from UpdateExchangeRates
Methods included from UpdateAddresses
#cache_file_path, #on_update_addresses, #process_new_transactions_for_address
Methods included from Withdraw
Methods included from TipStats
Methods included from Tip
Methods included from History
Methods included from Deposit
Methods included from Balance
Methods included from Help
Methods included from Common
#blockchain, #cached_addresses, #cached_addresses=, #db, #exchange_rate, #exchange_rates=, #satoshi_to_str, #satoshi_to_usd, #satoshi_with_usd, #str_to_satoshi, #user_with_username, #withdrawal_fee
Constructor Details
#initialize(bot) ⇒ Plugin
include Bitbot::Prize
38 39 40 41 |
# File 'lib/bitbot/plugin.rb', line 38 def initialize(bot) super Bitbot::Database.new(File.join(config['data']['path'], "bitbot.db")).upgrade_schema() end |