Added twitter_auth_required as an attribute of the method class and made it populate from the idl. If the attribute is set to true, an exception will be thrown if the api's auth attribute is not an instance of pyposterous.auth.TwitterAuth. Also, I added a check to make sure that the auth attribute is an instance of BasicAuth before checking for a username and password.
Added twitter_auth_required as an attribute of the method class and made it populate from the idl. If the attribute is set to true, an exception will be thrown if the api's auth attribute is not an instance of pyposterous.auth.TwitterAuth. Also, I added a check to make sure that the auth attribute is an instance of BasicAuth before checking for a username and password.

thomasw/pyposterous