module Kongkit
Constants
- VERSION
Attributes
configuration[RW]
Public Class Methods
client()
click to toggle source
API client
@return [Kongkit::Client] API wrapper
# File lib/kongkit.rb, line 16 def client return @client if defined?(@client) @client = Kongkit::Client.new(configuration.url) end
configure() { |configuration| ... }
click to toggle source
# File lib/kongkit.rb, line 22 def configure yield(configuration) end
Private Class Methods
method_missing(method_name, *args, &block)
click to toggle source
Calls superclass method
# File lib/kongkit.rb, line 32 def method_missing(method_name, *args, &block) if client.respond_to?(method_name) return client.send(method_name, *args, &block) end super end
respond_to_missing?(method_name, include_private = false)
click to toggle source
# File lib/kongkit.rb, line 28 def respond_to_missing?(method_name, include_private = false) client.respond_to?(method_name, include_private) end