Sha256: db96eb085af1d313278ed086016bf0cdd9a02d7e024c602f6ffb5cc639c1c099
Contents?: true
Size: 502 Bytes
Versions: 1
Compression:
Stored size: 502 Bytes
Contents
class Moromi::Apns::Message::Base def to_aws_sns_params base = { aps: { badge: badge, alert: alert, sound: sound, 'content-available' => content_available, 'mutable-content' => mutable_content, priority: priority } } custom_data.merge(base) end end class Moromi::Apns::Environment::Base def aws_sns_application_arn @aws_sns_application_arn ||= Moromi::Apns::AwsSnsAdapter.config.aws_sns_application_arns[key] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moromi-apns-aws_sns_adapter-0.3.0 | lib/moromi/apns/aws_sns_adapter/apns_extension.rb |