Class: FiveMobilePush::Notifier::Message

Inherits:
Object
  • Object
show all
Defined in:
lib/five_mobile_push/message.rb

Overview

Simple proxy class for building messages. Do not use this class directly.

Instance Method Summary collapse

Instance Method Details

#body(body) ⇒ Object

Parameters:

  • body (String)

    The text to send



6
7
8
# File 'lib/five_mobile_push/message.rb', line 6

def body(body)
  @body = body
end

#meta_data(meta_data) ⇒ Object

Parameters:

  • meta_data (Hash)

    (optional) The optional meta data to send.



11
12
13
# File 'lib/five_mobile_push/message.rb', line 11

def ()
  @meta_data = 
end