Sha256: 149ee71ec2b6c3e0c61b5e5677279681cc695a12a956b5c1f357276202e0d469
Contents?: true
Size: 416 Bytes
Versions: 1
Compression:
Stored size: 416 Bytes
Contents
module ActionTexter class Configuration attr_accessor :from, :to, :endpoint, :path, :product_token, :content_type 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' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
action-texter-0.0.1 | lib/action_texter/configuration.rb |