Sha256: 1a56771cb120365f51c8975b7a7e41389d39f8ba02f7a08392569cce0ec37cf2
Contents?: true
Size: 465 Bytes
Versions: 1
Compression:
Stored size: 465 Bytes
Contents
module ActionTexter class Configuration 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 } end def initialize @endpoint = 'https://rest.sms-service.com' @path = '/messages' @content_type = 'application/json' @delivery_method = :test end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
action-texter-0.1.2.ALPHA | lib/action_texter/configuration.rb |