Module: PixivApi::Request::Trends

Included in:
Client
Defined in:
lib/pixiv_api/request/trends.rb

Instance Method Summary collapse

Instance Method Details

#trend_tags(*args) ⇒ Object



8
9
10
11
12
13
# File 'lib/pixiv_api/request/trends.rb', line 8

def trend_tags(*args)
  raise PixivApi::Client::UnsupportedApiError, 'route of /v1/trends/tags.json is deprecated.'

  # arguments = Arguments.new(args)
  # objects_from_response(Response::Tag, :get, '/v1/trends/tags.json', arguments.options)
end

#trend_works(*args) ⇒ Object



4
5
6
# File 'lib/pixiv_api/request/trends.rb', line 4

def trend_works(*args)
  objects_from_response(Response::Work, :get, '/v1/trends/works.json', args.extract_options!)
end