Class: Leadersend::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/leadersend.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



18
19
20
21
22
23
# File 'lib/leadersend.rb', line 18

def initialize
  @api_url  = "http://api.leadersend.com/1.0/?output=json"
  @host     = "smtp.leadersend.com"
  @username = "[email protected]"
  @api_key  = "0953e545acdf063cb8a903a174gh721f"
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



16
17
18
# File 'lib/leadersend.rb', line 16

def api_key
  @api_key
end

#api_urlObject

Returns the value of attribute api_url.



16
17
18
# File 'lib/leadersend.rb', line 16

def api_url
  @api_url
end

#hostObject

Returns the value of attribute host.



16
17
18
# File 'lib/leadersend.rb', line 16

def host
  @host
end

#usernameObject

Returns the value of attribute username.



16
17
18
# File 'lib/leadersend.rb', line 16

def username
  @username
end