Class: SocialAvatarProxy::Response
- Inherits:
-
Rack::Response
- Object
- Rack::Response
- SocialAvatarProxy::Response
- Defined in:
- lib/social_avatar_proxy/response.rb
Class Method Summary collapse
Class Method Details
.build(options = {}) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/social_avatar_proxy/response.rb', line 6 def self.build( = {}) # build the response response = ResponseBuilder.new().response # apply the HTTP caching to the response SocialAvatarProxy::Config.http_cache.apply_caching_headers(response) end |