Ruby Riot Game API Wrapper
https://developer.riotgames.com/api
install gem
gem install 'riot_api_ruby'
or using bundler:
gem 'riot_api_ruby'
Setup API with API Key
RiotAPI::API.setup("abc")
Register API strategy
RiotAPI::API.register("summoner")
or
RiotAPI::API.register_all
Get API url
RiotAPI::API.summoner.by_names "lanjj"
Request API
RiotAPI::API.call("summoner", "find_by_names", "lanjj")
or
RiotAPI::API.summoner.find_by_names "lanjj"