Class: Wor::Push::Notifications::Aws::IosPushJsonBuilder
- Inherits:
-
Object
- Object
- Wor::Push::Notifications::Aws::IosPushJsonBuilder
- Defined in:
- lib/wor/push/notifications/aws/ios_push_json_builder.rb
Class Method Summary collapse
Class Method Details
.build_json(message_content) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/wor/push/notifications/aws/ios_push_json_builder.rb', line 7 def build_json() unless Wor::Push::Notifications::Aws.aws_ios_sandbox return { APNS: aps_content() } end { APNS_SANDBOX: aps_content() } end |