Skip to content

Commit

Permalink
Merge pull request #6 from frodsan/patch-1
Browse files Browse the repository at this point in the history
Remove warnings
  • Loading branch information
cyx committed Sep 24, 2015
2 parents 486c442 + 21c4f75 commit b9b6874
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/malone.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ class Configuration
attr_accessor :user
attr_accessor :password
attr_accessor :domain
attr_accessor :auth
attr_accessor :tls

attr :auth

def initialize(options)
opts = options.dup
Expand All @@ -90,8 +91,7 @@ def initialize(options)
end

def auth=(val)
@auth = val
@auth = @auth.to_sym if @auth
@auth = val && val.to_sym
end

private
Expand Down

0 comments on commit b9b6874

Please sign in to comment.