module BranchIO
Constants
- VERSION
Public Class Methods
method_missing(name, *args, &block)
click to toggle source
Default client helper methods: delegate unknown calls to a new Client
instance w/ default constructor params
Calls superclass method
# File lib/branch_io.rb, line 8 def self.method_missing(name, *args, &block) default_client = Client.new if default_client.respond_to?(name) default_client.send(name, *args, &block) else super end end
respond_to?(name)
click to toggle source
Calls superclass method
# File lib/branch_io.rb, line 17 def self.respond_to?(name) default_client = Client.new if default_client.respond_to?(name) return true end super end