def collections(page = 1, per_page = 10)
      params = {
        page:     page,
        per_page: per_page
      }

      list = JSON.parse(connection.get("/users/#{username}/collections", params).body)
      list.map do |collection|
        Unsplash::Collection.new collection.to_hash
      end
    end
def collections(page = 1, per_page = 10)
      params = {
        page:     page,
        per_page: per_page
      }

      list = JSON.parse(connection.get("/users/#{username}/collections", params).body)
      list.map do |collection|
        Unsplash::Collection.new collection.to_hash
      end
    end
Get a list of collections created by the user.
 @param page  [Integer] Which page of results to return.
 @param per_page [Integer] The number of results per page. (default: 10, maximum: 30)
 @return [Array] a list of +Unsplash::Collection+ objects.