Class: Peatio::Command::Base

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/peatio/command/base.rb

Instance Method Summary collapse

Instance Method Details

#say(str) ⇒ Object


3
4
5
# File 'lib/peatio/command/base.rb', line 3

def say(str)
  puts str
end

#sql_clientObject


7
8
9
# File 'lib/peatio/command/base.rb', line 7

def sql_client
  @sql_client ||= Peatio::Sql::Client.new.connect
end