Class: Esendex

Inherits:
Object
  • Object
show all
Defined in:
lib/xednese.rb,
lib/xednese/users.rb,
lib/xednese/client.rb,
lib/xednese/version.rb,
lib/xednese/accounts.rb,
lib/xednese/messages.rb,
lib/xednese/dispatcher.rb,
lib/xednese/responses/parser.rb,
lib/xednese/requests/messages.rb,
lib/xednese/responses/account.rb,
lib/xednese/responses/accounts.rb,
lib/xednese/responses/message_header.rb,
lib/xednese/responses/message_headers.rb,
lib/xednese/responses/message_dispatcher_headers.rb

Defined Under Namespace

Modules: Requests, Responses Classes: Accounts, Client, Credentials, Dispatcher, Messages, Users

Constant Summary collapse

VERSION =
'0.0.1'

Instance Method Summary collapse

Constructor Details

#initialize(username, password, account_reference) ⇒ Esendex

Returns a new instance of Esendex.



27
28
29
# File 'lib/xednese.rb', line 27

def initialize(username, password, )
  @credentials = Credentials.new(username, password, )
end

Instance Method Details

#accountObject



31
32
33
# File 'lib/xednese.rb', line 31

def 
  Accounts.new(@credentials)
end

#dispatcherObject



35
36
37
# File 'lib/xednese.rb', line 35

def dispatcher
  Dispatcher.new(@credentials)
end

#messagesObject



43
44
45
# File 'lib/xednese.rb', line 43

def messages
  Messages.new(@credentials)
end

#userObject



39
40
41
# File 'lib/xednese.rb', line 39

def user
  Users.new(@credentials)
end