Browse files

Accept token as option

  • Loading branch information...
1 parent efe7af7 commit aac0d18d2ff2468484f0483e830cfecca98f60b5 @mkyed mkyed committed Jan 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/ruby_fogbugz/interface.rb
View
1 lib/ruby_fogbugz/interface.rb
@@ -9,6 +9,7 @@ def initialize(options = {})
@options = {}.merge(options)
raise InitializationError, "Must supply URI (e.g. https://fogbugz.company.com)" unless options[:uri]
+ @token = options[:token] if options[:token]
@http = Fogbugz.adapter[:http].new(:uri => options[:uri])
@xml = Fogbugz.adapter[:xml]
end

0 comments on commit aac0d18

Please sign in to comment.