class Orchestrate::Application::SimpleCacheResponse::Header

Attributes

code[R]
content[R]
etag[R]
locations[R]
status[R]

Public Class Methods

new(header) click to toggle source
# File rails/lib/orchestrate_application/simple_cache_response.rb, line 20
def initialize(header)
  @locations = header[:locations]
  @code, @status = header[:code], header[:status]
  @etag = header[:etag]
  @content = {}
end

Public Instance Methods

location() click to toggle source
# File rails/lib/orchestrate_application/simple_cache_response.rb, line 27
def location
  locations.first
end