Sha256: 0bf176c51a6550324b94f9081ff9f60aa396ec40e25169bd715d11f3d6b31614

Contents?: true

Size: 353 Bytes

Versions: 4

Compression:

Stored size: 353 Bytes

Contents

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

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
unsplash-1.4.3 lib/unsplash/configuration.rb
unsplash-1.4.2 lib/unsplash/configuration.rb
unsplash-1.4.1 lib/unsplash/configuration.rb
unsplash-1.4.0 lib/unsplash/configuration.rb