Sha256: 925513cb40ac982fc9e83c3d25f822c16df026b32c8ce8066be257de698f16f3

Contents?: true

Size: 292 Bytes

Versions: 8

Compression:

Stored size: 292 Bytes

Contents

module Unsplash # :nodoc:
  class Configuration # :nodoc:
    attr_accessor :application_id
    attr_accessor :application_secret
    attr_accessor :application_redirect_uri
    attr_writer   :test

    def initialize
      @test = true
    end

    def test?
      !!@test
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
unsplash-1.3.1 lib/unsplash/configuration.rb
unsplash-1.3.0 lib/unsplash/configuration.rb
unsplash-1.2.1 lib/unsplash/configuration.rb
unsplash-1.2.0 lib/unsplash/configuration.rb
unsplash-1.1.0 lib/unsplash/configuration.rb
unsplash-1.0.0 lib/unsplash/configuration.rb
unsplash-1.0.0.pre.rc.2 lib/unsplash/configuration.rb
unsplash-1.0.0.pre.rc.1 lib/unsplash/configuration.rb