Closed dracos closed 8 years ago
Hi, @dracos. Give this a try: verify_credentials({ skip_status => 1 })
. Options can always be passed as a hashref. Methods with required parampters can take them positionally for convenience, e.g., update('Hello world!')
, which is equivalent to: update({ status => 'Hello world!' })
. verify_credentials
has no required parameters, so the hashref is necessary.
Hope that helps.
Dur, like it says in the docs. Don't know how I misread that, apologies!
(Sorry if I've misunderstood this, but I just tried to call
verify_credentials(skip_status => 1)
and received an error caused by this.)@$arg_names is the number of required parameters, so we want to error if we have fewer than that, not more.