Ask a Lawyer and Get Answers to Your Legal Questions
Generally, the gas station management can restrict access to the restroom however they please as long as they are consistent about it. If the next person that came along and only bought some gum, then was allowed to use the restroom, there would be a problem.
If you had been discriminated against for reasons of race, you would want to consider contacting the better business bureau and an attorney that handles either personal injury and/or civil rights litigation. Best of luck.