Module: TwitterTweetBot::API::HTTP::Get

Includes:
Base
Included in:
TwitterTweetBot::API::HTTP
Defined in:
lib/twitter_tweet_bot/api/http/get.rb

Instance Method Summary collapse

Methods included from Base

#perform_request

Instance Method Details

#request_get(url, body, headers = {}) ⇒ Object



11
12
13
14
15
16
# File 'lib/twitter_tweet_bot/api/http/get.rb', line 11

def request_get(url, body, headers = {})
  uri = build_uri(url, body)
  perform_request(
    uri, Net::HTTP::Get.new(uri, headers)
  )
end