ONS Firestore RubyGem

An opionated abstraction for reading and writing Google Firestore documents. Note that this gem targets Ruby 3.0 and above.

Installation

gem install ons-firestore

Examples

require 'ons-firestore'

firestore = Firestore.new('my-project')
doc = firestore.read_document('cities', 'London')

Licence

This library is licensed under the MIT licence. Full licence text is available in LICENCE.

Copyright (C) 2022 Crown Copyright (Office for National Statistics)