Sha256: 646de6e085eef59491f95e459fa8976658ed4f3682ac86a6802df14411619f23

Contents?: true

Size: 459 Bytes

Versions: 2

Compression:

Stored size: 459 Bytes

Contents

require "okcoin/version"
require "net/http"
require "uri"
require "json"
require "logger"
require "digest/md5"
require "okcoin/http_utils"
require "okcoin/api_define_tool"
require 'okcoin/base'
require "okcoin/client"

class Object
  def blank?
    respond_to?(:empty?) ? !!empty? : !self
  end
end

module Okcoin
  def self.logger
    if $logger.nil?
      $logger = Logger.new(STDOUT)
      $logger.level = Logger::WARN
    end
    return $logger
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
okcoin-0.1.6 lib/okcoin.rb
okcoin-0.1.5 lib/okcoin.rb