class ActionTexter::Configuration
Attributes
api_key=[RW]
content_type[RW]
endpoint[RW]
from[RW]
path[RW]
product_token[RW]
to[RW]
Public Class Methods
new()
click to toggle source
# File lib/action_texter/configuration.rb, line 11 def initialize @endpoint = 'https://rest.sms-service.com' @path = '/messages' @content_type = 'application/json' end
Public Instance Methods
defaults()
click to toggle source
# File lib/action_texter/configuration.rb, line 7 def defaults @defaults ||= { from: from, to: to, content_type: content_type } end