module Photozou::Api::Album

Public Instance Methods

photo_album() click to toggle source

photozou.jp/basic/api_method_photo_album

# File lib/photozou/api/album.rb, line 10
def photo_album
  albums = []
  res = get_json_with_credential('/photo_album.json')
  res['info']['album'].each { |album| albums << Photozou::Album.new(album) } if res['info']['album']
  albums
end