Class: Targetdata::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



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

def initialize
  @grant_type = 'password'
  @client_id = 2
end

Instance Attribute Details

#client_idObject

Returns the value of attribute client_id.



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

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret.



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

def client_secret
  @client_secret
end

#company_idObject

Returns the value of attribute company_id.



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

def company_id
  @company_id
end

#grant_typeObject

Returns the value of attribute grant_type.



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

def grant_type
  @grant_type
end

#passwordObject

Returns the value of attribute password.



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

def password
  @password
end

#usernameObject

Returns the value of attribute username.



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

def username
  @username
end