lib/action_texter/configuration.rb in action-texter-0.1.2.ALPHA vs lib/action_texter/configuration.rb in action-texter-0.2.0.pre
- old
+ new
@@ -3,10 +3,10 @@
attr_accessor :from, :to, :endpoint, :path, :product_token, :content_type, :delivery_method
alias_method :api_key=, :product_token=
def defaults
- @defaults ||= { from: from, to: to, content_type: content_type }
+ @defaults ||= { from: from, to: to }
end
def initialize
@endpoint = 'https://rest.sms-service.com'
@path = '/messages'