class PicasaDownloader::EnvCredentials
Attributes
password[R]
username[R]
Public Class Methods
new()
click to toggle source
# File lib/picasa-downloader/env_credentials.rb, line 5 def initialize @username = ENV['PICASA_USERNAME'] @password = ENV['PICASA_PASSWORD'] end
Public Instance Methods
is_configured?()
click to toggle source
# File lib/picasa-downloader/env_credentials.rb, line 10 def is_configured? ENV['PICASA_USERNAME'].to_s != '' && ENV['PICASA_PASSWORD'].to_s != '' end