class Attio::OAuth::Token

def has_scope?(scope)

Check if token has specific scope
def has_scope?(scope)
  @scope.include?(scope.to_s)
end