cambsull / SteamWebAPILibrary

A JavaScript Library to make calls to the Steam Web API easier
https://cambsull.github.io/SteamWebAPILibrary/
MIT License
4 stars 2 forks source link

Convert constructor property to static variable #18

Closed cambsull closed 4 months ago

cambsull commented 4 months ago

As an: Engineer

I want: to convert the current class constructor for the base URL to a static class variable

Because: the base URL doesn't change in any instance and it's a better coding pattern

Acceptance criteria:

Remove baseURL from class constructor and refactor it as a static class variable. Update methods accordingly.