class MyTankInfo::TokensResource
Public Instance Methods
generate(**attributes)
click to toggle source
# File lib/my_tank_info/resources/tokens.rb, line 5 def generate(**attributes) response = post_request("api/token", body: attributes) response.body.delete('"') end