Sha256: e04fb878339f02bc21b0f447975b2fcfd10896706f9807be20844b695bf7edf3

Contents?: true

Size: 1.79 KB

Versions: 22

Compression:

Stored size: 1.79 KB

Contents

json.id manifestation.id
json.original_title manifestation.original_title
json.title_alternative manifestation.title_alternative
json.title_transcription manifestation.title_transcription
json.title_alternative_transcription manifestation.title_alternative_transcription
json.pub_date manifestation.pub_date
json.statement_of_responsibility manifestation.statement_of_responsibility
json.creators do
  json.array!(manifestation.creators) do |creator|
    json.full_name creator.full_name
  end
end
json.contributors do
  json.array!(manifestation.contributors) do |contributor|
    json.full_name contributor.full_name
  end
end
json.publishers do
  json.array!(manifestation.publishers) do |publisher|
    json.full_name publisher.full_name
  end
end
json.publication_place manifestation.publication_place
json.extent manifestation.extent
json.dimensions manifestation.dimensions
json.identifiers do
  json.array!(manifestation.identifiers) do |identifier|
    json.identifier_type identifier.identifier_type.name
    json.body identifier.body
  end
end
json.subjects do
  json.array!(manifestation.subjects) do |subject|
    json.subject_heading_type subject.subject_heading_type.name
    json.term subject.term
  end
end
json.classfifications do
  json.array!(manifestation.classifications) do |classification|
    json.classification_type classification.classification_type.name
    json.term classification.category
  end
end
json.access_address manifestation.access_address
json.items do
  json.array!(manifestation.items.available.on_shelf) do |item|
    json.item_identifier item.item_identifier
    json.shelf item.shelf.display_name
    json.circulation_status item.circulation_status.display_name if defined?(EnjuCirculationStatus)
  end
end
json.created_at manifestation.created_at
json.updated_at manifestation.updated_at

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
enju_biblio-0.3.18 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.17 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.16 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.15 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.14 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.13 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.12 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.11 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.10 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.10.rc.3 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.10.rc.2 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.10.rc.1 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.9 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.4.0.rc.1 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.8 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.7 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.6 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.4.0.beta.2 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.4.0.beta.1 app/views/manifestations/_manifestation.json.jbuilder
enju_biblio-0.3.5 app/views/manifestations/_manifestation.json.jbuilder