class Grocer::PassbookNotification

Public: A specialized form of a Grocer::Notification which requires neither an alert nor badge to be present in the payload. It requires only the `device_token`, and allows an optional `expiry` and `identifier` to be set.

Examples

Grocer::PassbookNotification.new(device_token: '...')

Private Instance Methods

validate_payload() click to toggle source
# File lib/grocer/passbook_notification.rb, line 15
def validate_payload
  true
end