Module: LearnWorlds
- Defined in:
- lib/learn_worlds.rb,
lib/learn_worlds/client.rb,
lib/learn_worlds/object.rb,
lib/learn_worlds/version.rb,
lib/learn_worlds/resource.rb,
lib/learn_worlds/collection.rb,
lib/learn_worlds/configuration.rb,
lib/learn_worlds/learn_worlds_error.rb,
lib/learn_worlds/objects/user_object.rb,
lib/learn_worlds/resources/user_resource.rb,
lib/learn_worlds/objects/enrollment_object.rb,
lib/learn_worlds/resources/authentication_resource.rb,
lib/learn_worlds/resources/single_sign_on_resource.rb
Defined Under Namespace
Classes: AuthenticationResource, Client, Collection, Configuration, EnrollmentObject, LearnWorldsError, Object, Resource, SingleSignOnResource, UserObject, UserResource
Constant Summary collapse
- VERSION =
"0.2.4"
Class Method Summary collapse
-
.configuration ⇒ Object
Instantiate the Configuration singleton or return it.
-
.configure {|configuration| ... } ⇒ Object
This is the configure block definition.
Class Method Details
.configuration ⇒ Object
Instantiate the Configuration singleton or return it.
23 24 25 |
# File 'lib/learn_worlds.rb', line 23 def configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
This is the configure block definition. The configuration method will return the Configuration singleton, which is then yielded to the configure block.
31 32 33 |
# File 'lib/learn_worlds.rb', line 31 def configure yield(configuration) end |