Module: Quandora
- Defined in:
- lib/quandora.rb,
lib/quandora/version.rb,
lib/quandora/configuration.rb
Defined Under Namespace
Classes: Activity, Answer, Badges, Bases, Comment, Configuration, EndPoints, Error, Question, Report, Request, Tag, Users
Constant Summary collapse
- VERSION =
"0.3.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
23 24 25 |
# File 'lib/quandora.rb', line 23 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
29 30 31 |
# File 'lib/quandora.rb', line 29 def configure yield(configuration) end |
.find_api(api) ⇒ Object
48 49 50 51 |
# File 'lib/quandora.rb', line 48 def find_api(api) class_name = api.to_s.split('_').collect(&:capitalize).join Object.const_get("Quandora::#{class_name}") end |