Class: FiveMobilePush::Notifier::Message

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

Overview

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) body(body)

Parameters:

  • body (String)

    The text to send



99
100
101
# File 'lib/five_mobile_push/notifier.rb', line 99

def body(body)
  @body = body
end

- (Object) meta_data(meta_data)

Parameters:

  • meta_data (Hash)

    (optional) The optional meta data to send.



104
105
106
# File 'lib/five_mobile_push/notifier.rb', line 104

def ()
  @meta_data = 
end