Sha256: d4418de0d0e648002140ba37a69a98826be27e8d51d89e6586229a54ba3d09c3
Contents?: true
Size: 465 Bytes
Versions: 1
Compression:
Stored size: 465 Bytes
Contents
module ActionTexter class Configuration 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, subject: subject } 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.2.1.pre | lib/action_texter/configuration.rb |