Sha256: 37aee3d6afe40d9804ece139819f359f18bb0ac7267bbf9e315ecd68ddcfd2c4
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
class Fastly # Set up a response object. Best used with conditions. class ResponseObject < BelongsToServiceAndVersion attr_accessor :service_id, :name, :cache_condition, :request_condition, :status, :response, :content, :content_type ## # :attr: service_id # # The id of the service this belongs to. ## # :attr: version # # The number of the version this belongs to. ## # :attr: name # # The name of the response object ## # :attr: cache_condition # # Name of the cache condition used to test whether this response object # should be used. ## # :attr: request_condition # # Name of the request condition used to test whether this response object # should be used. ## # :attr: status # # The HTTP status code, defaults to 200 ## # :attr: response # # The HTTP response, defaults to "Ok" ## # :attr: content # # The content to deliver for the response object, can be empty. ## # :attr: content_type # # The MIME type of the content, can be empty. end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fastly-1.1.4 | lib/fastly/response_object.rb |
fastly-1.1.3 | lib/fastly/response_object.rb |