Class: Suma::ExportStandaloneSchema

Inherits:
Object
  • Object
show all
Defined in:
lib/suma/export_standalone_schema.rb

Overview

Simple schema class for standalone EXPRESS files Used when exporting individual .exp files that are not part of a manifest

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, path:) ⇒ ExportStandaloneSchema

Returns a new instance of ExportStandaloneSchema.



9
10
11
12
# File 'lib/suma/export_standalone_schema.rb', line 9

def initialize(id:, path:)
  @id = id
  @path = path
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/suma/export_standalone_schema.rb', line 7

def id
  @id
end

#pathObject

Returns the value of attribute path.



7
8
9
# File 'lib/suma/export_standalone_schema.rb', line 7

def path
  @path
end