refactoring to remove duplication in api_url
Merge branch 'master' of github.com:mikamai/ruby-lol