module Kounta
Constants
- AUTHORIZATION_URI
- FORMAT
- SITE_URI
- TOKEN_URI
- VERSION
Public Class Methods
configure() { |self| ... }
click to toggle source
# File lib/kounta.rb, line 38 def self.configure yield self end
enable_logging()
click to toggle source
# File lib/kounta.rb, line 46 def self.enable_logging @enable_logging || false end
enable_logging=(value)
click to toggle source
# File lib/kounta.rb, line 42 def self.enable_logging=(value) @enable_logging = value end
format_date(date)
click to toggle source
# File lib/kounta.rb, line 32 def self.format_date(date) date.respond_to?(:strftime) ? date.strftime('%Y-%m-%d') : date.to_s end
log(_message)
click to toggle source
# File lib/kounta.rb, line 36 def self.log(_message); end