Module: Unsplash

Defined in:
lib/unsplash/user.rb,
lib/unsplash.rb,
lib/unsplash/photo.rb,
lib/unsplash/stats.rb,
lib/unsplash/client.rb,
lib/unsplash/errors.rb,
lib/unsplash/search.rb,
lib/unsplash/version.rb,
lib/unsplash/collection.rb,
lib/unsplash/connection.rb,
lib/unsplash/configuration.rb

Overview

:nodoc:

Defined Under Namespace

Classes: Client, Collection, Configuration, Connection, DeprecationError, Error, ForbiddenError, NotFoundError, Photo, Search, SearchResult, Stats, UnauthorizedError, User

Constant Summary collapse

VERSION =

:nodoc:

"2.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration


18
19
20
# File 'lib/unsplash.rb', line 18

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:


25
26
27
# File 'lib/unsplash.rb', line 25

def self.configure
  yield(configuration)
end