Class: Sendgrid::Web::Configurator
- Inherits:
-
Object
- Object
- Sendgrid::Web::Configurator
- Defined in:
- lib/sendgrid/web/configurator.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#root_url ⇒ Object
Returns the value of attribute root_url.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Configurator
constructor
A new instance of Configurator.
Constructor Details
#initialize {|_self| ... } ⇒ Configurator
Returns a new instance of Configurator.
4 5 6 7 |
# File 'lib/sendgrid/web/configurator.rb', line 4 def initialize(&block) self.root_url = 'https://sendgrid.com' yield self if block_given? end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
2 3 4 |
# File 'lib/sendgrid/web/configurator.rb', line 2 def password @password end |
#root_url ⇒ Object
Returns the value of attribute root_url.
2 3 4 |
# File 'lib/sendgrid/web/configurator.rb', line 2 def root_url @root_url end |
#username ⇒ Object
Returns the value of attribute username.
2 3 4 |
# File 'lib/sendgrid/web/configurator.rb', line 2 def username @username end |