Module: BranchIO
- Defined in:
- lib/branch_io.rb,
lib/branch_io/client.rb,
lib/branch_io/version.rb,
lib/branch_io/client/links.rb,
lib/branch_io/client/response.rb,
lib/branch_io/link_properties.rb
Defined Under Namespace
Classes: Client, LinkProperties
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
-
.method_missing(name, *args, &block) ⇒ Object
Default client helper methods: delegate unknown calls to a new Client instance w/ default constructor params.
- .respond_to?(name) ⇒ Boolean
Class Method Details
.method_missing(name, *args, &block) ⇒ Object
Default client helper methods: delegate unknown calls to a new Client instance w/ default constructor params
10 11 12 13 14 15 16 17 |
# File 'lib/branch_io.rb', line 10 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 |