Sha256: 78224ea4ea2de813c4025e7340c2ddf49baab35b2b71e9c785b6fc5f4df4f5d8
Contents?: true
Size: 298 Bytes
Versions: 58
Compression:
Stored size: 298 Bytes
Contents
module BillHicks class User < Base def initialize(options = {}) requires!(options, :username, :password) @options = options end def authenticated? connect(@options) { |ftp| ftp.pwd } true rescue BillHicks::NotAuthenticated false end end end
Version data entries
58 entries across 58 versions & 1 rubygems