Class: PushbulletRuby::Ephemerable::Sms
Instance Attribute Summary
#client, #device_identifier, #params, #user_identifier
Instance Method Summary
collapse
#initialize, push, #push
Instance Method Details
#construct_payload(user_identifier, device_identifier) ⇒ Object
12
13
14
15
16
17
18
19
|
# File 'lib/pushbullet_ruby/ephemerable/sms.rb', line 12
def construct_payload(user_identifier, device_identifier)
{
source_user_iden: user_identifier,
target_device_iden: device_identifier,
package_name: 'com.pushbullet.android',
type: 'messaging_extension_reply'
}
end
|
#required_parameters ⇒ Object
8
9
10
|
# File 'lib/pushbullet_ruby/ephemerable/sms.rb', line 8
def required_parameters
[:conversation_iden, :message]
end
|
#type ⇒ Object
4
5
6
|
# File 'lib/pushbullet_ruby/ephemerable/sms.rb', line 4
def type
:push
end
|