Module: Twitter::REST::V2::Tweet::UntweetV2

Includes:
Utils, Utils
Included in:
API
Defined in:
lib/twitter/rest/v2/tweet/untweet_v2.rb

Instance Method Summary collapse

Instance Method Details

#untweet_v2(id) ⇒ Object

Parameters:

  • text (Integer|String)


13
14
15
# File 'lib/twitter/rest/v2/tweet/untweet_v2.rb', line 13

def untweet_v2(id)
  perform_delete(DELETE_TWEET_API_PATH % { id: id.to_s })
end