class DAF::PushbulletAction
An action that sends an sms using twilio based on parameters
Public Instance Methods
client()
click to toggle source
# File lib/daf/actions/pushbullet_action.rb, line 12 def client @client ||= Washbullet::Client.new(@key) end
invoke()
click to toggle source
# File lib/daf/actions/pushbullet_action.rb, line 16 def invoke client.push_note(receiver: :device, identifier: @identifier, params: { title: @title, body: @message } ) end