Module: GSGraph::OpenGraph::ApplicationContext

Included in:
Application
Defined in:
lib/gs_graph/open_graph/application_context.rb

Instance Method Summary collapse

Instance Method Details

#og_action(name) ⇒ Object



4
5
6
7
# File 'lib/gs_graph/open_graph/application_context.rb', line 4

def og_action(name)
  self.namespace ||= fetch.namespace
  [namespace, name].collect(&:to_s).join(':')
end