Class: DiandianOAuth::API::Interface::UnwatchTag

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

Instance Method Summary collapse

Methods inherited from Base

#apply, param, params, verb

Instance Method Details

#request_url(params = {}) ⇒ Object



386
387
388
389
390
# File 'lib/diandian_oauth/api/interface.rb', line 386

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