Sha256: 4962647e76f25fe9f2cc61074ee16d2e58097ee9059e1bf3a4b85ad88dbc5f6f

Contents?: true

Size: 287 Bytes

Versions: 77

Compression:

Stored size: 287 Bytes

Contents

module Bolognese
  module Readers
    module CrossciteReader
      def read_crosscite(string: nil, **options)
        errors = jsonlint(string)
        return { "errors" => errors } if errors.present?

        string.present? ? Maremma.from_json(string) : {}
      end
    end
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
bolognese-0.10.21 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.20 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.19 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.18 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.17 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.16 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.15 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.14 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.13 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.11 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.10 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.9 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.8 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.7 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.6 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.5 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.4 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.3 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10.2 lib/bolognese/readers/crosscite_reader.rb
bolognese-0.10 lib/bolognese/readers/crosscite_reader.rb