Sha256: ebee1533b3d55987130fe8dd9df51a622d8965a6909b0bf4bc5a63d79415fcbb

Contents?: true

Size: 530 Bytes

Versions: 5

Compression:

Stored size: 530 Bytes

Contents

require "oauth2"
require "httparty"
require "delegate"

require "unsplash/version"
require "unsplash/configuration"
require "unsplash/errors"
require "unsplash/client"
require "unsplash/connection"
require "unsplash/user"
require "unsplash/photo"
require "unsplash/collection"
require "unsplash/stats"
require "unsplash/search"

module Unsplash
  class << self
    attr_accessor :configuration
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure
    yield(configuration)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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