Module: GraphStarter
- Defined in:
- lib/graph_starter.rb,
lib/graph_starter/engine.rb,
lib/graph_starter/railtie.rb,
lib/graph_starter/version.rb,
app/models/graph_starter/view.rb,
app/models/graph_starter/asset.rb,
app/models/graph_starter/group.rb,
app/models/graph_starter/image.rb,
app/models/graph_starter/model.rb,
app/models/graph_starter/rating.rb,
lib/graph_starter/configuration.rb,
lib/graph_starter/configuration.rb,
app/models/graph_starter/category.rb,
app/models/graph_starter/property.rb,
lib/graph_starter/query_authorizer.rb,
app/models/graph_starter/can_access.rb,
app/helpers/graph_starter/application_helper.rb,
app/models/concerns/graph_starter/authorizable.rb,
app/controllers/graph_starter/assets_controller.rb,
app/controllers/graph_starter/groups_controller.rb,
app/controllers/graph_starter/models_controller.rb,
app/controllers/graph_starter/categories_controller.rb,
app/controllers/graph_starter/properties_controller.rb,
app/controllers/graph_starter/application_controller.rb,
app/controllers/graph_starter/authorizables_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, Authorizable
Classes: ApplicationController, Asset, AssetsController, AuthorizablesController, CanAccess, CategoriesController, Category, Configuration, Engine, Group, GroupsController, Image, Model, ModelsController, PropertiesController, Property, QueryAuthorizer, Railtie, Rating, View
Constant Summary
collapse
- VERSION =
"0.4.0"
- CONFIG =
Configuration.new
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
24
25
26
|
# File 'lib/graph_starter/configuration.rb', line 24
def self.configuration
CONFIG
end
|
14
15
16
17
18
19
20
21
22
|
# File 'lib/graph_starter/configuration.rb', line 14
def self.configure(config_hash = nil)
if config_hash.nil?
yield Configuration.new
else
config_hash.each do |key, value|
CONFIG.send("#{key}=", value)
end
end
end
|