Skip to content

Commit

Permalink
bump v. 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
WaYdotNET committed Mar 13, 2012
1 parent 09edb47 commit b91973e
Show file tree
Hide file tree
Showing 7 changed files with 553 additions and 69 deletions.
28 changes: 26 additions & 2 deletions README.md
@@ -1,6 +1,11 @@
# MsTranslate
The library is a simple API in Ruby for Microsoft Translator V2

TODO: Write a gem description
The Microsoft Translator services can be used in web or client
applications to perform language translation operations. The services
support users who are not familiar with the default language of a page
or application, or those desiring to communicate with people of a
different language group.

## Installation

Expand All @@ -18,7 +23,26 @@ Or install it yourself as:

## Usage

TODO: Write usage instructions here
first step set your appId

$ MsTranslate::Api.appId = 'MyRealAppId'

traNslate method:

$ MsTranslate::Api.translate('Hello World!)
$ => Ciao, Mondo!

## Method not implemented

1. Microsoft.Translator.AddTranslation Method
2. Microsoft.Translator.AddTranslationArray Method

## Test

You need to insert your appId into

# File 'spec/lib/ms_translate/api_spec.rb'
@api_real = 'INSERT_YOUR_APPID'

## Contributing

Expand Down
9 changes: 9 additions & 0 deletions Rakefile 100644 → 100755
@@ -1,2 +1,11 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"

require 'rake/testtask'

Rake::TestTask.new do |t|
t.test_files = FileList['spec/lib/ms_translate/*_spec.rb']
t.verbose = true
end

task :default => :test

0 comments on commit b91973e

Please sign in to comment.