Class: ActsAsGraphObject::Configuration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

: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

#adminsObject

Returns the value of attribute admins.



18
19
20
# File 'lib/acts_as_graph_object/configuration.rb', line 18

def admins
  @admins
end

#app_idObject

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

#namespaceObject

Returns the value of attribute namespace.



18
19
20
# File 'lib/acts_as_graph_object/configuration.rb', line 18

def namespace
  @namespace
end