Class: DiandianOAuth::API::Interface::TagFeeds

Inherits:
Base
  • Object
show all
Defined in:
lib/diandian_oauth/api/interface.rb

Overview

Home

Instance Method Summary collapse

Methods inherited from Base

#apply, param, params, verb

Instance Method Details

#request_url(params = {}) ⇒ Object



352
353
354
355
356
# File 'lib/diandian_oauth/api/interface.rb', line 352

def request_url params={}
  tag = params[:tag]
  raise ParamIsRequiredError.new("tag is required for interface #{self.class.name}") unless tag
  API.url_for "/tag/posts/#{tag}"
end