Class: QuickbaseLogger::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



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

def initialize
end

Instance Attribute Details

#fields_definitionObject

Returns the value of attribute fields_definition.



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

def fields_definition
  @fields_definition
end

#logger_pathObject

Returns the value of attribute logger_path.



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

def logger_path
  @logger_path
end

#passwordObject

Returns the value of attribute password.



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

def password
  @password
end

#realmObject

Returns the value of attribute realm.



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

def realm
  @realm
end

#tokenObject

Returns the value of attribute token.



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

def token
  @token
end

#usernameObject

Returns the value of attribute username.



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

def username
  @username
end

#usertokenObject

Returns the value of attribute usertoken.



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

def usertoken
  @usertoken
end

Instance Method Details

#define_fields(&block) ⇒ Object



8
9
10
# File 'lib/quickbase_logger/configuration.rb', line 8

def define_fields(&block)
  self.fields_definition = block
end