Class: ActsAsGraphObject::Configuration
- Inherits:
-
Object
- Object
- ActsAsGraphObject::Configuration
- Defined in:
- lib/acts_as_graph_object/configuration.rb
Overview
Can be configured using the ActsAsGraphObject.configure method. For example:
ActsAsGraphObject.configure do |config|
config.namespace = 'my-app'
end
Instance Attribute Summary collapse
-
#admins ⇒ Object
Returns the value of attribute admins.
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
:nodoc:.
Constructor Details
#initialize ⇒ Configuration
:nodoc:
20 21 22 |
# File 'lib/acts_as_graph_object/configuration.rb', line 20 def initialize # :nodoc: # set any defaults in here end |
Instance Attribute Details
#admins ⇒ Object
Returns the value of attribute admins.
18 19 20 |
# File 'lib/acts_as_graph_object/configuration.rb', line 18 def admins @admins end |
#app_id ⇒ Object
Returns the value of attribute app_id.
18 19 20 |
# File 'lib/acts_as_graph_object/configuration.rb', line 18 def app_id @app_id end |
#namespace ⇒ Object
Returns the value of attribute namespace.
18 19 20 |
# File 'lib/acts_as_graph_object/configuration.rb', line 18 def namespace @namespace end |