module ACTV

Constants

VERSION

Public Class Methods

client() click to toggle source

Delegate to a ACTV::Client

@return [ACTV::Client]

# File lib/actv.rb, line 13
def client
  ACTV::Client.new(options)
end
options() click to toggle source
# File lib/actv.rb, line 17
def options
  @options = {}
  ACTV::Configurable.keys.each do |key|
    @options[key] = instance_variable_get("@#{key}")
  end

  @options
end
reset!() click to toggle source
# File lib/actv.rb, line 30
def reset!
  ACTV::Configurable.keys.each do |key|
    instance_variable_set("@#{key}", ACTV::Default.options[key])
  end
  self
end
Also aliased as: setup
respond_to?(method, include_private=false) click to toggle source
Calls superclass method
# File lib/actv.rb, line 26
def respond_to?(method, include_private=false)
  self.client.respond_to?(method, include_private) || super
end
setup()
Alias for: reset!

Private Class Methods

method_missing(method, *args, &block) click to toggle source
Calls superclass method
# File lib/actv.rb, line 40
def method_missing(method, *args, &block)
  return super unless self.client.respond_to?(method)
  self.client.send(method, *args, &block)
end