Skip Menu |

This queue is for tickets about the Net-Google-Drive-Simple CPAN distribution.

Report information
The Basics
Id: 101655
Status: resolved
Priority: 0/
Queue: Net-Google-Drive-Simple

People
Owner: Nobody in particular
Requestors: emmanuel.rodriguez [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Constructor ignores config_file
Date: Wed, 21 Jan 2015 10:06:40 +0100
To: bug-Net-Google-Drive-Simple [...] rt.cpan.org
From: Emmanuel Rodriguez <emmanuel.rodriguez [...] gmail.com>
While the documentation shows that we can use config_file, the constructor fails to do anything with that parameter and the oath class completely ignores the setting and always defaults to lookup the config file in the home folder. -- Emmanuel Rodriguez
On Wed Jan 21 04:06:52 2015, emmanuel.rodriguez@gmail.com wrote: Show quoted text
> While the documentation shows that we can use config_file, the > constructor fails to do anything with that parameter and the oath > class completely ignores the setting and always defaults to lookup the > config file in the home folder.
I've fixed the documentation, it no longer talks about the unsupported parameter config_file. Since the file gets created by a different module (OAuth::Cmdline::GoogleDrive), which also defaults to ~/.google-drive.yml, it probably confuse a lot of users to offer the option to change the default, because to do so, you'd have to change it in both places. Hope that works for you!