Skip to content

theodik/redxml-client

Repository files navigation

Redxml::Client

Build Status Code Climate Coverage Status

Installation

Add this line to your application's Gemfile:

gem 'redxml-client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install redxml-client

Usage

require 'redxml/client'

# Connect as a block
RedXML::Client.connect(host: 'localhost', port: 33965) do |client|
  result = client.execute '//test'
  result.each do |tag|
    puts tag
  end
end

# Create client without block
client = RedXML::Client.connect(host: 'localhost', port: 33965)
puts client.execute '//test'
client.close

Contributing

  1. Fork it ( http://github.com//redxml-client/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Client for RedXML database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages