{"action":"created","issue":{"url":"https://api.github.com/repos/ytti/oxidized/issues/160","labels_url":"https://api.github.com/repos/ytti/oxidized/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/ytti/oxidized/issues/160/comments","events_url":"https://api.github.com/repos/ytti/oxidized/issues/160/events","html_url":"https://github.com/ytti/oxidized/issues/160","id":101104584,"number":160,"title":"Modify Username in Model","user":{"login":"MrRJ45","id":11132628,"avatar_url":"https://avatars.githubusercontent.com/u/11132628?v=3","gravatar_id":"","url":"https://api.github.com/users/MrRJ45","html_url":"https://github.com/MrRJ45","followers_url":"https://api.github.com/users/MrRJ45/followers","following_url":"https://api.github.com/users/MrRJ45/following{/other_user}","gists_url":"https://api.github.com/users/MrRJ45/gists{/gist_id}","starred_url":"https://api.github.com/users/MrRJ45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrRJ45/subscriptions","organizations_url":"https://api.github.com/users/MrRJ45/orgs","repos_url":"https://api.github.com/users/MrRJ45/repos","events_url":"https://api.github.com/users/MrRJ45/events{/privacy}","received_events_url":"https://api.github.com/users/MrRJ45/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-14T21:15:42Z","updated_at":"2015-08-15T07:00:53Z","closed_at":"2015-08-15T07:00:53Z","body":"Is it possible in a model class to update the username that will be sent to the device?\r\n\r\nIn routeros.rb I have found that I can only get this to work on newer versions by add \"+ct\" to the end of the username, this tells the RouterOS device to stop sending colours, and stops auto detection of the terminal.\r\n\r\nI have \"+ct\" in my config, but that should ideally be something that is set in the model itself."},"comment":{"url":"https://api.github.com/repos/ytti/oxidized/issues/comments/131311355","html_url":"https://github.com/ytti/oxidized/issues/160#issuecomment-131311355","issue_url":"https://api.github.com/repos/ytti/oxidized/issues/160","id":131311355,"user":{"login":"MrRJ45","id":11132628,"avatar_url":"https://avatars.githubusercontent.com/u/11132628?v=3","gravatar_id":"","url":"https://api.github.com/users/MrRJ45","html_url":"https://github.com/MrRJ45","followers_url":"https://api.github.com/users/MrRJ45/followers","following_url":"https://api.github.com/users/MrRJ45/following{/other_user}","gists_url":"https://api.github.com/users/MrRJ45/gists{/gist_id}","starred_url":"https://api.github.com/users/MrRJ45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrRJ45/subscriptions","organizations_url":"https://api.github.com/users/MrRJ45/orgs","repos_url":"https://api.github.com/users/MrRJ45/repos","events_url":"https://api.github.com/users/MrRJ45/events{/privacy}","received_events_url":"https://api.github.com/users/MrRJ45/received_events","type":"User","site_admin":false},"created_at":"2015-08-15T07:00:53Z","updated_at":"2015-08-15T07:00:53Z","body":"I've fixed this by stripping the colours in the Model :)\r\n\r\nClosing this for now."}}