The clientname option specifies the value for the X-Twitter-Client-Name
header. That has nothing to do with the "via" client name Twitter
displays, however. See the documentation for the "source" option, for that.
Very shortly, OAuth will be required. The name you use to register your
client will be displayed when using OAuth.
For Basic Auth, you can use the "sounce" option to "new". Set it to
"API" and twitter will dislay "via API". Set it to an empty string and
twitter will display "via web". Only legacy twitter apps that have a
source ID assigned by twitter can use anything else.
Net::Twitter has a registered source ID. It is used by both
Net::Twitter and Net::Twitter::Lite. Unless you specify something
different in the "source" option, you'll get "via Net::Twitter".
-Marc