Module: Modulofcm
- Defined in:
- lib/modulofcm/client.rb,
lib/modulofcm.rb,
lib/modulofcm/errors.rb,
lib/modulofcm/version.rb,
lib/modulofcm/response.rb,
lib/modulofcm/configurator.rb
Overview
rubocop:disable Metrics/ParameterLists
Defined Under Namespace
Classes: Client, Configurator, EmptyNotificationError, Error, InvalidClient, NoTokenError, Response
Constant Summary collapse
- VERSION =
'1.1.0.1'
Class Attribute Summary collapse
-
.clients ⇒ Object
Returns the value of attribute clients.
Class Method Summary collapse
Class Attribute Details
.clients ⇒ Object
Returns the value of attribute clients.
23 24 25 |
# File 'lib/modulofcm.rb', line 23 def clients @clients end |
Class Method Details
.client(name) ⇒ Object
19 20 21 |
# File 'lib/modulofcm.rb', line 19 def client(name) clients[name.to_sym] end |
.configure(&block) ⇒ Object
15 16 17 |
# File 'lib/modulofcm.rb', line 15 def configure(&block) Configurator.configure(&block) end |