class Skuby::Configuration
Constants
- SEND_METHODS
Attributes
charset[RW]
method[RW]
password[RW]
sender_number[RW]
sender_string[RW]
username[RW]
Public Class Methods
new()
click to toggle source
# File lib/skuby/configuration.rb, line 15 def initialize @method = 'send_sms_classic' end
Public Instance Methods
to_hash()
click to toggle source
# File lib/skuby/configuration.rb, line 19 def to_hash instance_variables.each_with_object({}) do |var, result| result[var.to_s.delete("@")] = instance_variable_get(var) end end