There may be a case where options need to be passed to the client gem and user should be able to configure it using config.apn.adapter_options. An example to configure the size of connection pool for the apnotic gem could look like the following:
Fourseam::Platforms.configure do |config|
config.apn.adapter = :aptonic
config.apn.adapter_options = {
size: 5,
timeout: 5
}
...
end
There may be a case where options need to be passed to the client gem and user should be able to configure it using
config.apn.adapter_options
. An example to configure the size of connection pool for theapnotic
gem could look like the following: