module Reuters::Namespaces

The {Namespaces} module contains sets of endpoints that are used by Reuters in their internal API. Different Namespaces are used by various clients to gain access to data via API Calls to these namespaced endpoints.

Public Class Methods

configure(namespace, &block) click to toggle source

Configure a Namespaces stored configurations.

@note The passed in namespace is converted to a string

and capitalized. It should be in the correct form.

@param [Symbol] namespace to configure endpoints for.

# File lib/reuters/namespaces.rb, line 20
def self.configure(namespace, &block)
  const_get(namespace.to_s).configure(&block)
end