Sha256: 3a9caca80f4111bf36a2c828e089b933eef2f15db9dd1ee5c80f446f5bd2b5b2
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
module Pushybullet module Types class PushTarget ID_TYPES = { device: 'device_iden', email: 'email', channel: 'channel_tag', client: 'client_iden' }.freeze def initialize(type, id) @type = type @id = id end def key ID_TYPES[@type] end def value @id end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pushybullet-0.1.1 | lib/pushybullet/types/push_target.rb |
pushybullet-0.1.0 | lib/pushybullet/types/push_target.rb |