Fix api url of inquiry request.
Fix Rubocop errors.
Merge pull request #9 from starsirius/master

@ilyakava Fix api url of inquiry request.