Module: SmartlingApi
- Defined in:
- lib/smartling_api.rb,
lib/smartling_api/file.rb,
lib/smartling_api/project.rb,
lib/smartling_api/version.rb,
lib/smartling_api/configuration.rb,
lib/smartling_api/errors/client.rb,
lib/smartling_api/authentication.rb,
lib/smartling_api/errors/not_found.rb,
lib/smartling_api/clients/smartling.rb,
lib/smartling_api/errors/credentials.rb,
lib/smartling_api/errors/raise_error.rb,
lib/smartling_api/errors/internal_server.rb,
lib/smartling_api/errors/unprocessable_entity.rb
Defined Under Namespace
Modules: Clients, Errors Classes: Authentication, Configuration, File, Project
Constant Summary collapse
- VERSION =
"0.3.0"
Class Method Summary collapse
-
.configuration ⇒ Configuration
A Struct containing configuration values.
-
.configure {|configuration| ... } ⇒ Object
Yield current configuration This is so the config can be set as,.
Class Method Details
.configuration ⇒ Configuration
A Struct containing configuration values
14 15 16 |
# File 'lib/smartling_api/configuration.rb', line 14 def configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
Yield current configuration This is so the config can be set as,
27 28 29 |
# File 'lib/smartling_api/configuration.rb', line 27 def configure yield(configuration) end |