You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by GitBox <gi...@apache.org> on 2020/10/28 14:27:37 UTC

[GitHub] [airavata] isururanawaka commented on a change in pull request #265: AIRAVATA-3379: Enabling airavata-ruby-sdk

isururanawaka commented on a change in pull request #265:
URL: https://github.com/apache/airavata/pull/265#discussion_r513486043



##########
File path: airavata-api/airavata-client-sdks/airavata-ruby-sdk/README.md
##########
@@ -0,0 +1,57 @@
+# airavata-ruby-sdk
+
+Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/airavata/ruby/sdk`. To experiment with that code, run `bin/console` for an interactive prompt.
+
+TODO: Delete this and the text above, and describe your gem
+
+## Installation
+
+Add this line to your application's Gemfile:
+
+```ruby
+gem 'airavata'
+```
+
+And then execute:
+
+    $ bundle install
+
+Or install it yourself as:
+
+    $ gem install airavata
+
+## Usage
+
+```ruby
+require "thrift"
+require "airavata"
+
+transport = Thrift::BufferedTransport.new(Thrift::Socket.new('localhost', 9930))

Review comment:
       Is it possible to make sever configs to be loaded from a config file and hide transport creation from the user ?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org