Sha256: b907f0b4caed0a163bf0d1c445113396f3d4dfebdf043106e942f9d0272da00a
Contents?: true
Size: 473 Bytes
Versions: 10
Compression:
Stored size: 473 Bytes
Contents
module J7W1 module MockPushClient class << self def push_histories @push_histories ||= [] end def push(endpoint_arn, platform, options) push_histories.push(options.merge(device: {platform: platform, endpoint_arn: endpoint_arn})) end def create_device_endpoint(device_identifier, platform, options = {}) [device_identifier, J7W1::Util.normalize_platform(platform)].compact.join('@') end end end end
Version data entries
10 entries across 10 versions & 1 rubygems