Module: Reuters::Namespaces

Defined in:
lib/reuters/namespaces.rb,
lib/reuters/namespaces/base.rb,
lib/reuters/namespaces/token.rb,
lib/reuters/namespaces/common.rb,
lib/reuters/namespaces/search.rb,
lib/reuters/namespaces/search/all.rb,
lib/reuters/namespaces/fundamentals.rb,
lib/reuters/namespaces/search/equity.rb

Overview

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.

Defined Under Namespace

Modules: Base, Common, Fundamentals, Search, Token

Class Method Summary collapse

Class Method Details

.configure(namespace, &block) ⇒ Object

Note:

The passed in namespace is converted to a string and capitalized. It should be in the correct form.

Configure a Namespaces stored configurations.

Parameters:

  • namespace (Symbol)

    to configure endpoints for.



20
21
22
# File 'lib/reuters/namespaces.rb', line 20

def self.configure(namespace, &block)
  const_get(namespace.to_s).configure(&block)
end