lib/action_texter/message.rb in action-texter-0.1.2.ALPHA vs lib/action_texter/message.rb in action-texter-0.2.0.pre
- old
+ new
@@ -1,14 +1,16 @@
module ActionTexter
class Message
include DeliveryMethods
- attr_accessor :from, :to, :body, :reference, :delivery_handler
+ attr_accessor :from, :to, :cc, :subject, :body, :reference, :delivery_handler
attr_reader :delivery_method, :delivery_options
def initialize(attributes = {})
@from = attributes[:from]
@to = attributes[:to]
+ @cc = attributes[:cc]
+ @subject = attributes[:subject]
@body = attributes[:body]
@reference = attributes[:reference]
wrap_delivery_behavior!(self, ActionTexter.config.delivery_method)
end