Module: DMCourier::Default
- Defined in:
- lib/dm_courier/default.rb
Class Method Summary collapse
- .api_key ⇒ Object
- .async ⇒ Object
- .auto_html ⇒ Object
- .auto_text ⇒ Object
- .bcc_address ⇒ Object
- .campaign_id ⇒ Object
- .from ⇒ Object
- .important ⇒ Object
- .inline_css ⇒ Object
- .ip_pool ⇒ Object
- .log_content ⇒ Object
- .options ⇒ Object
- .return_path_domain ⇒ Object
- .return_response ⇒ Object
- .service_name ⇒ Object
- .signing_domain ⇒ Object
- .subaccount ⇒ Object
- .tags ⇒ Object
- .track_clicks ⇒ Object
- .track_opens ⇒ Object
- .track_url_without_query_string ⇒ Object
- .tracking_domain ⇒ Object
Class Method Details
.api_key ⇒ Object
8 9 10 |
# File 'lib/dm_courier/default.rb', line 8 def api_key ENV["DM_COURIER_API_KEY"] end |
.async ⇒ Object
16 17 18 |
# File 'lib/dm_courier/default.rb', line 16 def async false end |
.auto_html ⇒ Object
20 21 22 |
# File 'lib/dm_courier/default.rb', line 20 def auto_html nil end |
.auto_text ⇒ Object
24 25 26 |
# File 'lib/dm_courier/default.rb', line 24 def auto_text nil end |
.bcc_address ⇒ Object
52 53 54 |
# File 'lib/dm_courier/default.rb', line 52 def bcc_address nil end |
.campaign_id ⇒ Object
88 89 90 |
# File 'lib/dm_courier/default.rb', line 88 def campaign_id nil end |
.from ⇒ Object
76 77 78 |
# File 'lib/dm_courier/default.rb', line 76 def from nil end |
.important ⇒ Object
28 29 30 |
# File 'lib/dm_courier/default.rb', line 28 def important nil end |
.inline_css ⇒ Object
32 33 34 |
# File 'lib/dm_courier/default.rb', line 32 def inline_css nil end |
.ip_pool ⇒ Object
84 85 86 |
# File 'lib/dm_courier/default.rb', line 84 def ip_pool nil end |
.log_content ⇒ Object
48 49 50 |
# File 'lib/dm_courier/default.rb', line 48 def log_content nil end |
.options ⇒ Object
4 5 6 |
# File 'lib/dm_courier/default.rb', line 4 def Hash[DMCourier::Configurable.keys.map { |key| [key, send(key)] }] end |
.return_path_domain ⇒ Object
56 57 58 |
# File 'lib/dm_courier/default.rb', line 56 def return_path_domain nil end |
.return_response ⇒ Object
80 81 82 |
# File 'lib/dm_courier/default.rb', line 80 def return_response true end |
.service_name ⇒ Object
12 13 14 |
# File 'lib/dm_courier/default.rb', line 12 def service_name ENV["DM_COURIER_SERVICE"] end |
.signing_domain ⇒ Object
60 61 62 |
# File 'lib/dm_courier/default.rb', line 60 def signing_domain nil end |
.subaccount ⇒ Object
64 65 66 |
# File 'lib/dm_courier/default.rb', line 64 def subaccount nil end |
.tags ⇒ Object
72 73 74 |
# File 'lib/dm_courier/default.rb', line 72 def nil end |
.track_clicks ⇒ Object
36 37 38 |
# File 'lib/dm_courier/default.rb', line 36 def track_clicks nil end |
.track_opens ⇒ Object
40 41 42 |
# File 'lib/dm_courier/default.rb', line 40 def track_opens nil end |
.track_url_without_query_string ⇒ Object
44 45 46 |
# File 'lib/dm_courier/default.rb', line 44 def track_url_without_query_string nil end |
.tracking_domain ⇒ Object
68 69 70 |
# File 'lib/dm_courier/default.rb', line 68 def tracking_domain nil end |