Module: RubyD2L

Extended by:
Config
Defined in:
lib/ruby-d2l.rb,
lib/ruby-d2l/auth.rb,
lib/ruby-d2l/user.rb,
lib/ruby-d2l/config.rb,
lib/ruby-d2l/org_unit.rb

Defined Under Namespace

Modules: Config Classes: Auth, OrgUnit, User

Instance Attribute Summary

Attributes included from Config

#password, #site_url, #username

Class Method Summary collapse

Methods included from Config

reset_config!

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields this module to a given block. Please refer to the RubyD2L::Config module for configuration options.

Yields:

  • (_self)

Yield Parameters:

  • _self (RubyD2L)

    the object that the method was called on



14
15
16
# File 'lib/ruby-d2l.rb', line 14

def self.configure
  yield self if block_given?
end