Class: Mailgun::Tracking::Configuration
- Inherits:
-
Object
- Object
- Mailgun::Tracking::Configuration
- Includes:
- Singleton
- Defined in:
- lib/mailgun/tracking/configuration.rb
Overview
Configuration for Mailgun Tracking.
Constant Summary collapse
- DEFAULT_ENDPOINT =
'/mailgun'
Instance Attribute Summary collapse
-
#api_key ⇒ String
Mailgun API public key.
-
#endpoint ⇒ String
Mailgun callback URL.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
Initialize a Mailgun::Tracking::Configuration object.
Constructor Details
#initialize ⇒ Configuration
Initialize a Mailgun::Tracking::Configuration object.
20 21 22 |
# File 'lib/mailgun/tracking/configuration.rb', line 20 def initialize @endpoint = DEFAULT_ENDPOINT end |
Instance Attribute Details
#api_key ⇒ String
Returns Mailgun API public key.
14 15 16 |
# File 'lib/mailgun/tracking/configuration.rb', line 14 def api_key @api_key end |
#endpoint ⇒ String
Returns Mailgun callback URL.
17 18 19 |
# File 'lib/mailgun/tracking/configuration.rb', line 17 def endpoint @endpoint end |