Class: ActiveResource::Connection
- Inherits:
-
Object
- Object
- ActiveResource::Connection
- Defined in:
- lib/liquidplanner/ext/connection.rb
Instance Method Summary collapse
-
#get_raw(path, headers = {}) ⇒ Object
get a raw response (not just the decoded response body); used for non-standard responses (e.g. binary / file data).
Instance Method Details
#get_raw(path, headers = {}) ⇒ Object
get a raw response (not just the decoded response body); used for non-standard responses (e.g. binary / file data)
6 7 8 |
# File 'lib/liquidplanner/ext/connection.rb', line 6 def get_raw(path, headers = {}) with_auth { request(:get, path, build_request_headers(headers, :get, self.site.merge(path))) } end |