lib/action_texter/configuration.rb in action-texter-0.2.0.pre vs lib/action_texter/configuration.rb in action-texter-0.2.1.pre
- old
+ new
@@ -1,12 +1,12 @@
module ActionTexter
class Configuration
- attr_accessor :from, :to, :endpoint, :path, :product_token, :content_type, :delivery_method
+ attr_accessor :from, :to, :subject, :endpoint, :path, :product_token, :content_type, :delivery_method
alias_method :api_key=, :product_token=
def defaults
- @defaults ||= { from: from, to: to }
+ @defaults ||= { from: from, to: to, subject: subject }
end
def initialize
@endpoint = 'https://rest.sms-service.com'
@path = '/messages'