Module: RubyD2L::Config

Included in:
RubyD2L
Defined in:
lib/ruby-d2l/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#passwordObject

Returns the value of attribute password.



5
6
7
# File 'lib/ruby-d2l/config.rb', line 5

def password
  @password
end

#site_urlObject

Returns the value of attribute site_url.



7
8
9
# File 'lib/ruby-d2l/config.rb', line 7

def site_url
  @site_url
end

#usernameObject

Returns the value of attribute username.



3
4
5
# File 'lib/ruby-d2l/config.rb', line 3

def username
  @username
end

Instance Method Details

#reset_config!Object



9
10
11
12
13
# File 'lib/ruby-d2l/config.rb', line 9

def reset_config!
  self.username = nil
  self.password = nil
  self.site_url = nil
end