lib/firebase-ruby/database.rb in firebase-ruby-0.0.2 vs lib/firebase-ruby/database.rb in firebase-ruby-0.1.0
- old
+ new
@@ -7,11 +7,11 @@
attr_accessor :auth, :print, :shallow
def initialize()
end
- def set_auth_with_keyfile(filepath)
- @auth = Auth.new(filepath)
+ def set_auth_with_key(json: nil, path: nil)
+ @auth = Auth.new(json: json, path: path)
end
def project_id=(id)
@project_id = id
end