ushu / branch_io

Client for branch.io public API
MIT License
16 stars 7 forks source link

Use require instead of autoload #2

Closed knightstick closed 6 years ago

knightstick commented 7 years ago

Using autoload :Client etc was working fine for me locally, however, I would get a NameError when trying to run in Production, and a LoadError: cannot load such file -- branch_io when trying to require the file.

I was able to fix this issue by using require instead of autoload.

P.S - Thanks for the Gem, does the job quite nicely!