Method: FaxFinder::Query.construct_http_request
- Defined in:
- lib/fax_finder/query.rb
.construct_http_request(fax_key, entry_key) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/fax_finder/query.rb', line 13 def self.construct_http_request(fax_key, entry_key) request = Net::HTTP::Get.new(self.path(fax_key, entry_key)) request.basic_auth self.user, self.password request.set_content_type(Request::CONTENT_TYPE) request end |