Class: Leadersend::Config
- Inherits:
-
Object
- Object
- Leadersend::Config
- Defined in:
- lib/leadersend.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_url ⇒ Object
Returns the value of attribute api_url.
-
#host ⇒ Object
Returns the value of attribute host.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_key ⇒ Object
Returns the value of attribute api_key.
16 17 18 |
# File 'lib/leadersend.rb', line 16 def api_key @api_key end |
#api_url ⇒ Object
Returns the value of attribute api_url.
16 17 18 |
# File 'lib/leadersend.rb', line 16 def api_url @api_url end |
#host ⇒ Object
Returns the value of attribute host.
16 17 18 |
# File 'lib/leadersend.rb', line 16 def host @host end |
#username ⇒ Object
Returns the value of attribute username.
16 17 18 |
# File 'lib/leadersend.rb', line 16 def username @username end |