class Bronto::Message::Content

Attributes

content[RW]
subject[RW]
type[RW]

Public Class Methods

new(type, subject, content) click to toggle source
# File lib/bronto/message.rb, line 25
def initialize(type, subject, content)
  self.type = type
  self.subject = subject
  self.content = content
end

Public Instance Methods

to_hash() click to toggle source
# File lib/bronto/message.rb, line 31
def to_hash
  { type: type, subject: subject, content: content }
end