Socket
Book a DemoInstallSign in
Socket

translation_service

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

translation_service

0.1.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

TranslationService

This gem provides networking to a custom translation service.

Installation

Add this line to your application's Gemfile:

gem 'translation_service'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install translation_service

Usage

require 'translation_service'

Maybe put the config in an itializer?

TranslationService.configure do |config|
  config.master_revision = 'test'
  config.address = 'https://content.translations.lan/webservices/'
  config.key = 'oi321'
  config.password = 'fakepw'
  config.location = '/spec/locales'
  config.available_locales = [
    :en, :fr
  ]
end

TranslationService.pull_all

TranslationService.add('gem.test', 'test text', 'http://example.context')

Development

It is currently private, however, may make it public in the future.

FAQs

Package last updated on 16 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.