Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby wrapper around the Wordy API
Ruby
Tag: v0.2.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
.travis.yml
Gemfile
Gemfile.lock
README.markdown
Rakefile
VERSION
rWordy.gemspec
wordy-ruby.gemspec
wordy.gemspec

README.markdown

Build Status

Installation

gem install wordy-ruby

Usage

require 'rubygems'
require 'wordy'

# if you're using rails, put this in an initializer file
Wordy.configure do |c|
   c.api_key   = ENV['WORDY_API_KEY']
   c.username  = ENV['WORDY_USERNAME']
end

if Wordy::Account.balance > 0
  job = Wordy::Job.create(1, 'Text I want to proofread', 'An optional title')
  # See Account.languages to see the list of available languages and their ids
  job.pay!
  puts "Your text will be ready at: #{job.delivery_date}"
end
Something went wrong with that request. Please try again.