Class: Morpho::Configuration
- Inherits:
-
Object
- Object
- Morpho::Configuration
- Defined in:
- lib/morpho/configuration.rb
Instance Attribute Summary collapse
-
#api ⇒ Object
Returns the value of attribute api.
-
#auth ⇒ Object
Returns the value of attribute auth.
-
#host ⇒ Object
Returns the value of attribute host.
-
#jwt ⇒ Object
Returns the value of attribute jwt.
-
#mailer ⇒ Object
Returns the value of attribute mailer.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 18 19 20 21 22 |
# File 'lib/morpho/configuration.rb', line 15 def initialize self.host = '' self.mailer = Morpho::Configurations::Mailer.new self.api = Morpho::Configurations::API.new self.jwt = Morpho::Configurations::JWT.new self.auth = Morpho::Configurations::Auth.new end |
Instance Attribute Details
#api ⇒ Object
Returns the value of attribute api.
11 12 13 |
# File 'lib/morpho/configuration.rb', line 11 def api @api end |
#auth ⇒ Object
Returns the value of attribute auth.
13 14 15 |
# File 'lib/morpho/configuration.rb', line 13 def auth @auth end |
#host ⇒ Object
Returns the value of attribute host.
8 9 10 |
# File 'lib/morpho/configuration.rb', line 8 def host @host end |
#jwt ⇒ Object
Returns the value of attribute jwt.
12 13 14 |
# File 'lib/morpho/configuration.rb', line 12 def jwt @jwt end |
#mailer ⇒ Object
Returns the value of attribute mailer.
10 11 12 |
# File 'lib/morpho/configuration.rb', line 10 def mailer @mailer end |