Class: Xiaomi::Push::IOS

Inherits:
Client
  • Object
show all
Defined in:
lib/xiaomi/push/platforms/ios.rb

Overview

iOS 推送

Examples:

Xiaomi::Push::Message::iOS.new(
  description:'iOS 主要显示描述',
  badge:10,
  extras: {
    uri: 'app://bbs?id=8624',
    source: 'mpush'
  }
)

Constant Summary

Constants included from Const

Const::DEVICES, Const::PRODUCTION_URL, Const::SANDBOX_URL

Instance Attribute Summary

Attributes inherited from Client

#client, #device

Attributes included from Const

#base_url

Method Summary

Methods inherited from Client

#feedback, #get, #initialize, #message, #messages, #post, #topic, #user

Methods included from Const

#build_uri, #production, #sandbox, #use_production!, #use_sandbox!

Constructor Details

This class inherits a constructor from Xiaomi::Push::Client