Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.33 KB

File metadata and controls

30 lines (24 loc) · 1.33 KB

UltracartClient::SfvbFileWriteResponse

Properties

Name Type Description Notes
compiled_path String Path of the compiled output, when writing a .cjson under a theme triggered a compile. [optional]
file SfvbFileEntry [optional]
hash_sha256 String New SHA-256. Use as the next If-Match value. [optional]
public_url String Where a shopper's browser will fetch this file, for use in an img src or a background image. Present only for a path outside /themes/, which is served straight off the storefront root. A file inside a theme is absent here because its public URL depends on which theme is active, and guessing it would be worse than omitting it. [optional]
validation SfvbValidationResponse [optional]
velocity_errors String Velocity errors recorded by the store. Present means the file was written but is not valid. [optional]
version Integer New version number. [optional]

Example

require 'ultracart_api'

instance = UltracartClient::SfvbFileWriteResponse.new(
  compiled_path: null,
  file: null,
  hash_sha256: null,
  public_url: null,
  validation: null,
  velocity_errors: null,
  version: null
)