Class: Emarsys::Broadcast::Configuration
- Inherits:
-
Object
- Object
- Emarsys::Broadcast::Configuration
- Defined in:
- lib/emarsys/broadcast/configuration.rb
Instance Attribute Summary collapse
-
#api_base_path ⇒ Object
Returns the value of attribute api_base_path.
-
#api_host ⇒ Object
Returns the value of attribute api_host.
-
#api_password ⇒ Object
Returns the value of attribute api_password.
-
#api_port ⇒ Object
Returns the value of attribute api_port.
-
#api_timeout ⇒ Object
Returns the value of attribute api_timeout.
-
#api_user ⇒ Object
Returns the value of attribute api_user.
-
#import_delay_hours ⇒ Object
Returns the value of attribute import_delay_hours.
-
#recipients_path ⇒ Object
Returns the value of attribute recipients_path.
-
#sender ⇒ Object
Returns the value of attribute sender.
-
#sender_domain ⇒ Object
Returns the value of attribute sender_domain.
-
#sftp_host ⇒ Object
Returns the value of attribute sftp_host.
-
#sftp_password ⇒ Object
Returns the value of attribute sftp_password.
-
#sftp_port ⇒ Object
Returns the value of attribute sftp_port.
-
#sftp_user ⇒ Object
Returns the value of attribute sftp_user.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
25 26 27 28 29 30 31 32 33 |
# File 'lib/emarsys/broadcast/configuration.rb', line 25 def initialize @sftp_host = 'e3.emarsys.net' @sftp_port = 22 @api_host = 'e3.emarsys.net' @api_base_path = '/bmapi/v2' @api_port = 80 @api_timeout = 600 #10 minutes @import_delay_hours = 1 end |
Instance Attribute Details
#api_base_path ⇒ Object
Returns the value of attribute api_base_path.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def api_base_path @api_base_path end |
#api_host ⇒ Object
Returns the value of attribute api_host.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def api_host @api_host end |
#api_password ⇒ Object
Returns the value of attribute api_password.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def api_password @api_password end |
#api_port ⇒ Object
Returns the value of attribute api_port.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def api_port @api_port end |
#api_timeout ⇒ Object
Returns the value of attribute api_timeout.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def api_timeout @api_timeout end |
#api_user ⇒ Object
Returns the value of attribute api_user.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def api_user @api_user end |
#import_delay_hours ⇒ Object
Returns the value of attribute import_delay_hours.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def import_delay_hours @import_delay_hours end |
#recipients_path ⇒ Object
Returns the value of attribute recipients_path.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def recipients_path @recipients_path end |
#sender ⇒ Object
Returns the value of attribute sender.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def sender @sender end |
#sender_domain ⇒ Object
Returns the value of attribute sender_domain.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def sender_domain @sender_domain end |
#sftp_host ⇒ Object
Returns the value of attribute sftp_host.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def sftp_host @sftp_host end |
#sftp_password ⇒ Object
Returns the value of attribute sftp_password.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def sftp_password @sftp_password end |
#sftp_port ⇒ Object
Returns the value of attribute sftp_port.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def sftp_port @sftp_port end |
#sftp_user ⇒ Object
Returns the value of attribute sftp_user.
7 8 9 |
# File 'lib/emarsys/broadcast/configuration.rb', line 7 def sftp_user @sftp_user end |