Class: AKaynak::Configuration
- Inherits:
-
Object
- Object
- AKaynak::Configuration
- Defined in:
- lib/akaynak/configuration.rb
Overview
Used to set up and modify settings for the notifier.
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#usercode ⇒ Object
Returns the value of attribute usercode.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 |
# File 'lib/akaynak/configuration.rb', line 9 def initialize @host = 'data.altinkaynak.com' @port = 80 end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
4 5 6 |
# File 'lib/akaynak/configuration.rb', line 4 def host @host end |
#password ⇒ Object
Returns the value of attribute password.
7 8 9 |
# File 'lib/akaynak/configuration.rb', line 7 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
5 6 7 |
# File 'lib/akaynak/configuration.rb', line 5 def port @port end |
#usercode ⇒ Object
Returns the value of attribute usercode.
6 7 8 |
# File 'lib/akaynak/configuration.rb', line 6 def usercode @usercode end |