Class: SfIntegrator::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#client_idObject

Returns the value of attribute client_id.



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

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret.



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

def client_secret
  @client_secret
end

#passwordObject

Returns the value of attribute password.



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

def password
  @password
end

#usernameObject

Returns the value of attribute username.



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

def username
  @username
end

Instance Method Details

#to_hashObject



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

def to_hash
  { username: username, password: password, client_id: client_id, client_secret: client_secret  }
end