class Unsplash::Category
Public Class Methods
all()
click to toggle source
Get a list of all of the Unsplash
photo categories. @return [Array] The list categories. DEPRECATED
# File lib/unsplash/category.rb, line 11 def all raise Unsplash::DeprecationError.new "Category has been deprecated and removed." end
find(id)
click to toggle source
Public Instance Methods
photos(page = 1, per_page = 10)
click to toggle source
Get a list of all photos in this category. @param page [Integer] Which page of search results to return. @param per_page [Integer] The number of search results per page. @return [Array] A single page of +Unsplash::Photo+s. DEPRECATED
# File lib/unsplash/category.rb, line 29 def photos(page = 1, per_page = 10) raise Unsplash::DeprecationError.new "Category has been deprecated and removed." end