Sha256: 370d347a5869e05316a42e2f23fe220128061d3673ad84366167d8a082e00d7c

Contents?: true

Size: 396 Bytes

Versions: 1

Compression:

Stored size: 396 Bytes

Contents

module Fahrenheit::AlephUbpb::Adapter::Record::GetItems
  require_relative "./get_items/restful_api_result_transformation"

  def record_get_items(record_id, options = {})
    super_result = super(
      record_id.gsub("PAD_ALEPH", "PAD01"),
      options.merge(output_format: :ox_document)
    )

    RestfulApiResultTransformation.new.apply source: super_result, target: super_result
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fahrenheit-aleph_ubpb-0.0.1 lib/fahrenheit/aleph_ubpb/adapter/record/get_items.rb