lib/esendex.rb in esendex-0.3.2 vs lib/esendex.rb in esendex-0.4.0
- old
+ new
@@ -3,10 +3,11 @@
require_relative 'esendex/exceptions'
require_relative 'esendex/api_connection'
require_relative 'esendex/hash_serialisation'
require_relative 'esendex/account'
+ require_relative 'esendex/dispatcher_result'
require_relative 'esendex/inbound_message'
require_relative 'esendex/message'
require_relative 'esendex/message_batch_submission'
require_relative 'esendex/message_delivered_event'
require_relative 'esendex/message_failed_event'
@@ -17,11 +18,10 @@
require_relative 'esendex/engine'
end
API_NAMESPACE = 'http://api.esendex.com/ns/'
API_HOST = 'https://api.esendex.com'
- API_VERSION = 'v1.0'
# Public - used to configure the gem prior to use
#
# Esendex.configure do |config|
# config.username = 'username'
@@ -40,10 +40,10 @@
# lambdas for handling push notifications
attr_accessor :message_delivered_event_handler, :message_failed_event_handler, :inbound_message_handler
# behaviour config
attr_accessor :suppress_error_backtrace
-
+
def account_reference
@account_reference ||= ENV['ESENDEX_ACCOUNT']
end
def username
\ No newline at end of file