Sha256: 51f1627567817c2cfaef28c5737e0439d5bf26c5badfc270467775502bdea5b0
Contents?: true
Size: 196 Bytes
Versions: 2
Compression:
Stored size: 196 Bytes
Contents
require 'netrc' module Scrapers class NetrcReader attr_accessor :user, :pw def initialize(section) netrc = Netrc.read @user, @pw = netrc[section] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scrapers-3.0.0 | lib/netrc_reader.rb |
scrapers-2.1.0 | lib/netrc_reader.rb |