-
Notifications
You must be signed in to change notification settings - Fork 0
Installation And Configuration
Fedor Barannik edited this page May 17, 2017
·
2 revisions
Add this line to your application's Gemfile:
gem 'tmj_ruby'And then execute:
$ bundle
Or install it yourself as:
$ gem install tmj_ruby
Setup configuration in your setup file if you need to configure it once
TMJ.configure do |c|
c.base_url = 'http://localhost'
c.auth_type = :basic
c.project_id = 'PD'
c.test_run_id = 'TR-I123'
c.environment = 'Mobile'
c.username = 'Test'
c.password = 'test'
endOr do it everytime you create a client
client = TMJ::Client.new(base_url: 'http://localhost', auth_type: :basic,
project_id: 'PD', test_run_id: 'TR-I123',
environment: 'Mobile', username: 'Test', password: 'test')- [Contribution guide]