Class: CodecFastSms::Configuration
- Inherits:
-
Object
- Object
- CodecFastSms::Configuration
- Defined in:
- lib/codec_fast_sms/configuration.rb
Overview
Configuration class
Constant Summary collapse
- EXTENSION_TYPES =
%w[yml json].freeze
Instance Attribute Summary collapse
-
#api_host ⇒ Object
Returns the value of attribute api_host.
-
#password ⇒ Object
Returns the value of attribute password.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#sender ⇒ Object
Returns the value of attribute sender.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_host ⇒ Object
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 |
#password ⇒ Object
Returns the value of attribute password.
44 45 46 |
# File 'lib/codec_fast_sms/configuration.rb', line 44 def password @password end |
#profile ⇒ Object
Returns the value of attribute profile.
44 45 46 |
# File 'lib/codec_fast_sms/configuration.rb', line 44 def profile @profile end |
#sender ⇒ Object
Returns the value of attribute sender.
44 45 46 |
# File 'lib/codec_fast_sms/configuration.rb', line 44 def sender @sender end |
#username ⇒ Object
Returns the value of attribute username.
44 45 46 |
# File 'lib/codec_fast_sms/configuration.rb', line 44 def username @username end |