Class: AKaynak::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/akaynak/configuration.rb

Overview

Used to set up and modify settings for the notifier.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#hostObject

Returns the value of attribute host.



4
5
6
# File 'lib/akaynak/configuration.rb', line 4

def host
  @host
end

#passwordObject

Returns the value of attribute password.



7
8
9
# File 'lib/akaynak/configuration.rb', line 7

def password
  @password
end

#portObject

Returns the value of attribute port.



5
6
7
# File 'lib/akaynak/configuration.rb', line 5

def port
  @port
end

#usercodeObject

Returns the value of attribute usercode.



6
7
8
# File 'lib/akaynak/configuration.rb', line 6

def usercode
  @usercode
end