Sha256: 641808c799b1fff4b40b29b2f36a3c182a9a744199a8569c71d01b8bbf6fac44

Contents?: true

Size: 572 Bytes

Versions: 5

Compression:

Stored size: 572 Bytes

Contents

require "oauth2"
require "httparty"

require "unsplash/version"
require "unsplash/configuration"
require "unsplash/errors"
require "unsplash/client"
require "unsplash/connection"
require "unsplash/user"
require "unsplash/photo"
require "unsplash/category"
require "unsplash/curated_batch"
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-1.5.0 lib/unsplash.rb
unsplash-1.4.3 lib/unsplash.rb
unsplash-1.4.2 lib/unsplash.rb
unsplash-1.4.1 lib/unsplash.rb
unsplash-1.4.0 lib/unsplash.rb