Module: Rpush::Client::ActiveModel::Fcm::App
- Included in:
- Rpush::Client::ActiveRecord::Fcm::App, Redis::Fcm::App
- Defined in:
- lib/rpush/client/active_model/fcm/app.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/rpush/client/active_model/fcm/app.rb', line 6 def self.included(base) base.instance_eval do # TODO: Add whatever validation is needed here # validates :auth_key, presence: true end end |
Instance Method Details
#service_name ⇒ Object
13 14 15 |
# File 'lib/rpush/client/active_model/fcm/app.rb', line 13 def service_name 'fcm' end |