Class: Mosaic::Lyris::Message
- Defined in:
- lib/mosaic/lyris/message.rb
Instance Attribute Summary collapse
-
#aol ⇒ Object
readonly
Returns the value of attribute aol.
-
#category ⇒ Object
readonly
Returns the value of attribute category.
-
#charset ⇒ Object
readonly
Returns the value of attribute charset.
-
#clickthru ⇒ Object
readonly
Returns the value of attribute clickthru.
-
#clickthru_text ⇒ Object
readonly
Returns the value of attribute clickthru_text.
-
#edited_at ⇒ Object
readonly
Returns the value of attribute edited_at.
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#from_email ⇒ Object
readonly
Returns the value of attribute from_email.
-
#from_name ⇒ Object
readonly
Returns the value of attribute from_name.
-
#html ⇒ Object
readonly
Returns the value of attribute html.
-
#htmlencoding ⇒ Object
readonly
Returns the value of attribute htmlencoding.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#rule ⇒ Object
readonly
Returns the value of attribute rule.
-
#segment ⇒ Object
readonly
Returns the value of attribute segment.
-
#segment_id ⇒ Object
readonly
Returns the value of attribute segment_id.
-
#sent ⇒ Object
readonly
Returns the value of attribute sent.
-
#sent_at ⇒ Object
readonly
Returns the value of attribute sent_at.
-
#stats_sent ⇒ Object
readonly
Returns the value of attribute stats_sent.
-
#subject ⇒ Object
readonly
Returns the value of attribute subject.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Object
callback_url, configuration, configuration=, default_list_id, default_trigger_id, get_array_data, get_boolean_data, get_data, get_date_data, get_demographic_data, get_element, get_integer_data, get_integer_element, get_time_data, get_time_element, get_time_offset_data, get_xml_time_data, #initialize, load_configuration, logger, logger=, password, post, put_array_data, put_data, put_demographic_data, put_extra_data, server, site_id, #to_param, triggers
Constructor Details
This class inherits a constructor from Mosaic::Lyris::Object
Instance Attribute Details
#aol ⇒ Object (readonly)
Returns the value of attribute aol.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def aol @aol end |
#category ⇒ Object (readonly)
Returns the value of attribute category.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def category @category end |
#charset ⇒ Object (readonly)
Returns the value of attribute charset.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def charset @charset end |
#clickthru ⇒ Object (readonly)
Returns the value of attribute clickthru.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def clickthru @clickthru end |
#clickthru_text ⇒ Object (readonly)
Returns the value of attribute clickthru_text.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def clickthru_text @clickthru_text end |
#edited_at ⇒ Object (readonly)
Returns the value of attribute edited_at.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def edited_at @edited_at end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def format @format end |
#from_email ⇒ Object (readonly)
Returns the value of attribute from_email.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def from_email @from_email end |
#from_name ⇒ Object (readonly)
Returns the value of attribute from_name.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def from_name @from_name end |
#html ⇒ Object (readonly)
Returns the value of attribute html.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def html @html end |
#htmlencoding ⇒ Object (readonly)
Returns the value of attribute htmlencoding.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def htmlencoding @htmlencoding end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def name @name end |
#rule ⇒ Object (readonly)
Returns the value of attribute rule.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def rule @rule end |
#segment ⇒ Object (readonly)
Returns the value of attribute segment.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def segment @segment end |
#segment_id ⇒ Object (readonly)
Returns the value of attribute segment_id.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def segment_id @segment_id end |
#sent ⇒ Object (readonly)
Returns the value of attribute sent.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def sent @sent end |
#sent_at ⇒ Object (readonly)
Returns the value of attribute sent_at.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def sent_at @sent_at end |
#stats_sent ⇒ Object (readonly)
Returns the value of attribute stats_sent.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def stats_sent @stats_sent end |
#subject ⇒ Object (readonly)
Returns the value of attribute subject.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def subject @subject end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def text @text end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
4 5 6 |
# File 'lib/mosaic/lyris/message.rb', line 4 def type @type end |
Class Method Details
.query(what, options = {}) ⇒ Object
28 29 30 31 32 33 34 |
# File 'lib/mosaic/lyris/message.rb', line 28 def query(what, = {}) if what == :all query_all() else query_one(what, ) end end |
Instance Method Details
#sent? ⇒ Boolean
90 91 92 |
# File 'lib/mosaic/lyris/message.rb', line 90 def sent? sent == 'yes' end |