adham90/elastic_map

View on GitHub
lib/elastic_map/index/helpers.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module ElasticMap
  class Index
    # ElasticMap helper methods
    #
    module Helpers
      def to_hash
        _index_data.to_hash
      end

      def to_json
        _index_data
      end
    end
  end
end