Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from knightstick/fix/autoload
Browse files Browse the repository at this point in the history
Use require instead of autoload
  • Loading branch information
jdee authored Oct 17, 2017
2 parents db045fb + fd86c3b commit 5da4c62
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/branch_io.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
require "branch_io/version"
require "branch_io/client"
require "branch_io/link_properties"

module BranchIO

autoload :Client, "branch_io/client"
autoload :LinkProperties, "branch_io/link_properties"

# Default client helper methods: delegate unknown calls to a new Client instance w/ default constructor params

def self.method_missing(name, *args, &block)
Expand Down

0 comments on commit 5da4c62

Please sign in to comment.