Module: Freefeed::Utils

Included in:
V1::Posts, V2::Posts, V2::Timelines
Defined in:
lib/freefeed/utils.rb

Instance Method Summary collapse

Instance Method Details

#authenticated_request(request_method, path, params = {}) ⇒ Object



8
9
10
# File 'lib/freefeed/utils.rb', line 8

def authenticated_request(request_method, path, params = {})
  AuthenticatedRequest.new(self, request_method, path, params).call
end

#request(request_method, path, params = {}) ⇒ Object



12
13
14
# File 'lib/freefeed/utils.rb', line 12

def request(request_method, path, params = {})
  Request.new(self, request_method, path, params).call
end