Class: MailganerClient::Configuration
- Inherits:
-
Object
- Object
- MailganerClient::Configuration
- Defined in:
- lib/mailganer_client/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_key_web_portal ⇒ Object
Returns the value of attribute api_key_web_portal.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#host ⇒ Object
Returns the value of attribute host.
-
#smtp_login ⇒ Object
Returns the value of attribute smtp_login.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/mailganer_client/configuration.rb', line 5 def initialize @debug = false @host = "https://api.samotpravil.ru/" end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/mailganer_client/configuration.rb', line 3 def api_key @api_key end |
#api_key_web_portal ⇒ Object
Returns the value of attribute api_key_web_portal.
3 4 5 |
# File 'lib/mailganer_client/configuration.rb', line 3 def api_key_web_portal @api_key_web_portal end |
#debug ⇒ Object
Returns the value of attribute debug.
3 4 5 |
# File 'lib/mailganer_client/configuration.rb', line 3 def debug @debug end |
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/mailganer_client/configuration.rb', line 3 def host @host end |
#smtp_login ⇒ Object
Returns the value of attribute smtp_login.
3 4 5 |
# File 'lib/mailganer_client/configuration.rb', line 3 def smtp_login @smtp_login end |