Sha256: 7ab51397b8689c225ad09c89c5abc3ba61c7484ed5654f95be0b8a6309a20238

Contents?: true

Size: 516 Bytes

Versions: 5

Compression:

Stored size: 516 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/stats"

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.2.1 lib/unsplash.rb
unsplash-1.2.0 lib/unsplash.rb
unsplash-1.1.0 lib/unsplash.rb
unsplash-1.0.0 lib/unsplash.rb
unsplash-1.0.0.pre.rc.2 lib/unsplash.rb