module BWAPI

Ruby wrapper for the Brandwatch API

BWAPI Version

Constants

VERSION

Public Class Methods

new(opts = {}) click to toggle source

Alias for BWAPI::Client.new

@return [BWAPI::Client]

# File lib/bwapi.rb, line 12
def new(opts = {})
  BWAPI::Client.new(opts)
end
respond_to?(method_name, include_private = false) click to toggle source

Check BWAPI::Client.new responds

Calls superclass method
# File lib/bwapi.rb, line 17
def respond_to?(method_name, include_private = false)
  new.respond_to?(method_name, include_private) || super
end

Private Class Methods

method_missing(method_name, *args, &block) click to toggle source

Delegate to BWAPI::Client.new

Calls superclass method
# File lib/bwapi.rb, line 24
def method_missing(method_name, *args, &block)
  return super unless client.respond_to?(method_name)
  new.send(method_name, *args, &block)
end