class Orchestrate::Application::SimpleCacheResponse::Body

Attributes

content[R]
count[R]
documents[R]

Public Class Methods

new(body) click to toggle source
# File rails/lib/orchestrate_application/simple_cache_response.rb, line 35
def initialize(body)
  @documents = body
  @count = documents.length
  @content = nil
end

Public Instance Methods

document() click to toggle source
# File rails/lib/orchestrate_application/simple_cache_response.rb, line 41
def document
  documents.first
end