Class: MicroBunny::Settings
- Inherits:
-
Object
- Object
- MicroBunny::Settings
- Defined in:
- lib/microbunny/settings.rb
Instance Attribute Summary collapse
-
#consumer_app ⇒ Object
Returns the value of attribute consumer_app.
-
#host ⇒ Object
Returns the value of attribute host.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
-
#vhost ⇒ Object
Returns the value of attribute vhost.
Instance Method Summary collapse
Instance Attribute Details
#consumer_app ⇒ Object
Returns the value of attribute consumer_app.
3 4 5 |
# File 'lib/microbunny/settings.rb', line 3 def consumer_app @consumer_app end |
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/microbunny/settings.rb', line 3 def host @host end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/microbunny/settings.rb', line 3 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
3 4 5 |
# File 'lib/microbunny/settings.rb', line 3 def username @username end |
#vhost ⇒ Object
Returns the value of attribute vhost.
3 4 5 |
# File 'lib/microbunny/settings.rb', line 3 def vhost @vhost end |
Instance Method Details
#complete? ⇒ Boolean
5 6 7 |
# File 'lib/microbunny/settings.rb', line 5 def complete? @complete ||= connection && consumer_app end |