lib/unsplash/configuration.rb in unsplash-1.3.1 vs lib/unsplash/configuration.rb in unsplash-1.4.0
- old
+ new
@@ -1,13 +1,15 @@
module Unsplash # :nodoc:
class Configuration # :nodoc:
attr_accessor :application_id
attr_accessor :application_secret
attr_accessor :application_redirect_uri
+ attr_accessor :logger
attr_writer :test
def initialize
@test = true
+ @logger = Logger.new(STDOUT)
end
def test?
!!@test
end
\ No newline at end of file