class RubyPushNotifications::FCM::FCMRequest
Encapsulates a connection to the FCM
service Responsible for final connection with the service.
@author Carlos Alonso
Public Class Methods
new(params = {})
click to toggle source
# File lib/ruby-push-notifications/fcm/fcm_request.rb, line 18 def initialize(params = {}) @params = params end
Public Instance Methods
make_request()
click to toggle source
# File lib/ruby-push-notifications/fcm/fcm_request.rb, line 21 def make_request response = self.class.post('/send', @params) end