Implemented get location credit

Removed keyword parameters, now supports Ruby 1.9.3