Sha256: 759b7c57f89ac96f91a69b92c8993525d005bee5fed65fc94d4e572643267c28

Contents?: true

Size: 391 Bytes

Versions: 5

Compression:

Stored size: 391 Bytes

Contents

module Unsplash # :nodoc:
  class Configuration # :nodoc:
    attr_accessor :application_access_key
    attr_accessor :application_secret
    attr_accessor :application_redirect_uri
    attr_accessor :logger
    attr_accessor :utm_source
    attr_writer   :test

    def initialize
      @test = true
      @logger = Logger.new(STDOUT)
    end

    def test?
      !!@test
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
unsplash-3.1.1 lib/unsplash/configuration.rb
unsplash-3.0.0 lib/unsplash/configuration.rb
unsplash-2.1.0 lib/unsplash/configuration.rb
unsplash-2.0.1 lib/unsplash/configuration.rb
unsplash-2.0.0 lib/unsplash/configuration.rb