The project is in a healthy, maintained state
Firebase Admin SDK for Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

> 1, < 3
> 0.16, < 2.0
>= 1.5, < 3.0
>= 0.19.0, < 1.0
 Project Readme

Firebase Admin Ruby SDK

The Firebase Admin Ruby SDK enables access to Firebase services from privileged environments (such as servers or cloud) in Ruby.

For more information, visit the Firebase Admin SDK setup guide.

This gem is being used in production by https://cheddar.me

Installation

Add this line to your application's Gemfile:

gem 'firebase-admin-sdk'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install firebase-admin-sdk

Usage

Application Default Credentials

gem 'firebase-admin-sdk'

app = Firebase::Admin::App.new

Using a service account

gem 'firebase-admin-sdk'

creds = Firebase::Admin::Credentials.from_file('service_account.json')
app = Firebase::Admin::App.new(credentials: creds)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/cheddar-me/firebase-admin-sdk.

License

The gem is available as open source under the terms of the MIT License.