Class: CodecFastSms::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/codec_fast_sms/configuration.rb

Overview

Configuration class

Constant Summary collapse

EXTENSION_TYPES =
%w[yml json].freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



46
47
48
# File 'lib/codec_fast_sms/configuration.rb', line 46

def initialize
  self.profile = :default
end

Instance Attribute Details

#api_hostObject

Returns the value of attribute api_host.



44
45
46
# File 'lib/codec_fast_sms/configuration.rb', line 44

def api_host
  @api_host
end

#passwordObject

Returns the value of attribute password.



44
45
46
# File 'lib/codec_fast_sms/configuration.rb', line 44

def password
  @password
end

#profileObject

Returns the value of attribute profile.



44
45
46
# File 'lib/codec_fast_sms/configuration.rb', line 44

def profile
  @profile
end

#senderObject

Returns the value of attribute sender.



44
45
46
# File 'lib/codec_fast_sms/configuration.rb', line 44

def sender
  @sender
end

#usernameObject

Returns the value of attribute username.



44
45
46
# File 'lib/codec_fast_sms/configuration.rb', line 44

def username
  @username
end