README.md in ruby-for-xinge-0.1.0 vs README.md in ruby-for-xinge-0.1.1

- old
+ new

@@ -7,23 +7,33 @@ ## Installation Add this line to your application's Gemfile: ```ruby -gem 'xinge' +gem 'ruby-for-xinge' ``` And then execute: $ bundle Or install it yourself as: - $ gem install xinge + $ gem install ruby-for-xinge ## Usage -TODO: Write usage instructions here +Add below codes to your application.rb or a init file in config/initializers + + require 'xinge' + Xinge.configure do |config| + config[:android_accessId] = Your android access id + config[:android_secretKey] = 'Your secret key xxx' + config[:ios_accessId] = Your ios access id + config[:ios_secretKey] = 'Your secret key xxx' + config[:env] = Rails.env # if you are not in a rails app, you can set it config[:env]='development' or config[:env]='production', it is 'development' default. + end + ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.