Class: JaLC::Registration::Config
- Inherits:
-
Object
- Object
- JaLC::Registration::Config
- Defined in:
- lib/jalc/registration/config.rb
Constant Summary collapse
- DEFAULT_BASE_URL =
'https://japanlinkcenter.org'
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#id ⇒ Object
Returns the value of attribute id.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#password ⇒ Object
Returns the value of attribute password.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
12 13 14 15 16 17 |
# File 'lib/jalc/registration/config.rb', line 12 def initialize @base_url = DEFAULT_BASE_URL @id = nil @password = nil @logger = ::Logger.new($stdout) end |
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
10 11 12 |
# File 'lib/jalc/registration/config.rb', line 10 def base_url @base_url end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/jalc/registration/config.rb', line 10 def id @id end |
#logger ⇒ Object
Returns the value of attribute logger.
10 11 12 |
# File 'lib/jalc/registration/config.rb', line 10 def logger @logger end |
#password ⇒ Object
Returns the value of attribute password.
10 11 12 |
# File 'lib/jalc/registration/config.rb', line 10 def password @password end |