class Prism::Relocation::FilepathField

A field that represents the file path.

def fields(_value)

Fetch the file path.
def fields(_value)
  { filepath: value }
end

def initialize(value)

Initialize a new field with the given file path.
def initialize(value)
  @value = value
end