class SmsService::Configuration

default parameters for sms service. It will be overridden by the parameters given in configuration file or given at method call This class can have only one instance

Constants

OPTIONS

Attributes

data[RW]

Public Class Methods

new() click to toggle source

on initialize pouplate @data with blank config

# File lib/sms_service/configuration.rb, line 20
    def initialize
  @data={}
end

Public Instance Methods

configure(options) click to toggle source

merge dafault with the user given options specified using Smsservice.configure method

# File lib/sms_service/configuration.rb, line 25
  def configure(options)
@data.rmerge!(options)
  end