Module: Firebase
Instance Method Summary collapse
Instance Method Details
#create(body) ⇒ Object
9 10 11 |
# File 'lib/codefusion/firebase.rb', line 9 def create(body) HTTParty.post(make_request_url, get_config(body)) end |
#update(body, uuid) ⇒ Object
13 14 15 |
# File 'lib/codefusion/firebase.rb', line 13 def update(body, uuid) HTTParty.put(make_request_url(uuid), get_config(body)) end |