class SocialAvatarProxy::Response

Public Class Methods

build(options = {}) click to toggle source
# File lib/social_avatar_proxy/response.rb, line 6
def self.build(options = {})
  # build the response
  response = ResponseBuilder.new(options).response
  # apply the HTTP caching to the response
  SocialAvatarProxy::Config.http_cache.apply_caching_headers(response)
end