Sha256: b4789c3f24b7fc6ddd4580da720de61da10817f250537afadb5fee2d1f3241d1
Contents?: true
Size: 305 Bytes
Versions: 1
Compression:
Stored size: 305 Bytes
Contents
module Noip class Credentials def initialize(username = nil, password = nil, host = nil) @username = username || ENV['NOIP_USERNAME'] @password = password || ENV['NOIP_PASSWORD'] @host = host || ENV['NOIP_HOST'] end attr_reader :username, :password, :host end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
noip-0.1 | lib/noip/credentials.rb |