Class: Multicolor::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#companyObject

Returns the value of attribute company.



3
4
5
# File 'lib/multicolor/configuration.rb', line 3

def company
  @company
end

#open_timeoutObject

Returns the value of attribute open_timeout.



3
4
5
# File 'lib/multicolor/configuration.rb', line 3

def open_timeout
  @open_timeout
end

#passwordObject

Returns the value of attribute password.



3
4
5
# File 'lib/multicolor/configuration.rb', line 3

def password
  @password
end

#timeoutObject

Returns the value of attribute timeout.



3
4
5
# File 'lib/multicolor/configuration.rb', line 3

def timeout
  @timeout
end

#usernameObject

Returns the value of attribute username.



3
4
5
# File 'lib/multicolor/configuration.rb', line 3

def username
  @username
end

Instance Method Details

#authenticate?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/multicolor/configuration.rb', line 10

def authenticate?
  true
end

#valid?Boolean

Returns:

  • (Boolean)


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

def valid?
  # TODO
  # are username, company, password set?
end