Module: Reuters
- Defined in:
- lib/reuters.rb,
lib/reuters/wsdls.rb,
lib/reuters/client.rb,
lib/reuters/builder.rb,
lib/reuters/version.rb,
lib/reuters/response.rb,
lib/reuters/namespaces.rb,
lib/reuters/wsdls/base.rb,
lib/reuters/client/base.rb,
lib/reuters/credentials.rb,
lib/reuters/wsdls/token.rb,
lib/reuters/client/token.rb,
lib/reuters/wsdls/search.rb,
lib/reuters/client/search.rb,
lib/reuters/namespaces/base.rb,
lib/reuters/namespaces/token.rb,
lib/reuters/namespaces/common.rb,
lib/reuters/namespaces/search.rb,
lib/reuters/client/search/base.rb,
lib/reuters/wsdls/fundamentals.rb,
lib/reuters/client/fundamentals.rb,
lib/reuters/wsdls/search/equity.rb,
lib/reuters/client/search/equity.rb,
lib/reuters/namespaces/fundamentals.rb,
lib/reuters/namespaces/search/equity.rb
Overview
Ruby Gem for interacting with the Thomson Reuters Knowledge Direct API.
Defined Under Namespace
Modules: Client, Credentials, Namespaces, Wsdls Classes: Builder, Response
Constant Summary collapse
- VERSION =
Current version of the Reuters gem.
'0.8.8'
Class Attribute Summary collapse
-
.debug ⇒ Boolean
Determines if debugging mode is enabled for the Reuters gem.
-
.namespaces_endpoint ⇒ String
The endpoint that will be used to contact Reuters to determine the fully resolved namespaces.
-
.wsdl_endpoint ⇒ String
The WSDL endpoint that will be used to contact Reuters.
Class Method Summary collapse
-
.configure {|Reuters| ... } ⇒ Object
Helper to configure the Reuters gem.
-
.credentials {|Reuters::Credentials| ... } ⇒ Object
Yield the Credentials class as a configurable block.
- .reuters_acronyms=(val) ⇒ Object
Class Attribute Details
.debug ⇒ Boolean
Determines if debugging mode is enabled for the Reuters gem. If enabled, any Reuters API requests will debug to STDOUT.
|
# File 'lib/reuters.rb', line 44
|
.namespaces_endpoint ⇒ String
The endpoint that will be used to contact Reuters to determine the fully resolved namespaces.
|
# File 'lib/reuters.rb', line 33
|
.wsdl_endpoint ⇒ String
The WSDL endpoint that will be used to contact Reuters.
|
# File 'lib/reuters.rb', line 39
|
Class Method Details
.configure {|Reuters| ... } ⇒ Object
Helper to configure the Reuters gem.
85 86 87 |
# File 'lib/reuters.rb', line 85 def self.configure yield self end |
.credentials {|Reuters::Credentials| ... } ⇒ Object
Yield the Credentials class as a configurable block. This block helps clients to set their credentials easily.
94 95 96 |
# File 'lib/reuters.rb', line 94 def self.credentials(&block) self::Credentials.configure(&block) end |
.reuters_acronyms=(val) ⇒ Object
72 73 74 75 76 |
# File 'lib/reuters.rb', line 72 def self.reuters_acronyms=(val) ActiveSupport::Inflector.inflections do |i| val.each { |v| i.acronym v } end end |