Sha256: 1e6e968001af32a53685b6e9fd8b349337924d0e05f585bef59085ed03d6a466

Contents?: true

Size: 546 Bytes

Versions: 2

Compression:

Stored size: 546 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"

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

2 entries across 2 versions & 1 rubygems

Version Path
unsplash-1.3.1 lib/unsplash.rb
unsplash-1.3.0 lib/unsplash.rb