Created
April 22, 2020 06:25
-
-
Save wshihadeh/026b95330b2613ee0633b23710a4eb53 to your computer and use it in GitHub Desktop.
BaseResource
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BaseResource < ActiveResource::Base | |
def self.headers | |
RequestHeadersMiddleware.store.merge(ActiveResource::Base.headers) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment