Sha256: 2cbbfaf4b93243a68ca6f32ce37c3e97020a48a6e4150b0cf8f740c9bfe63326
Contents?: true
Size: 1.74 KB
Versions: 5
Compression:
Stored size: 1.74 KB
Contents
[![Gem Version](https://badge.fury.io/rb/exoscale.svg)](https://badge.fury.io/rb/exoscale) [![Build Status](https://travis-ci.org/nicolasbrechet/ruby-exoscale.svg)](https://travis-ci.org/nicolasbrechet/ruby-exoscale) # Ruby Exoscale Simple Ruby gem to access Exoscale's API ## Installation Add this line to your application's Gemfile: ```ruby gem 'exoscale' ``` And then execute: $ bundle Or install it yourself as: $ gem install exoscale ## Usage ### Compute All methods are described on [Exoscale's Compute documentation](https://community.exoscale.ch/api/compute/). As this is a Ruby gem, all methods are snake_cased. ``` require 'exoscale' exo = Exoscale::Compute.new(ENV['EXO_API_KEY'], ENV['EXO_API_SECRET_KEY']) puts exo.list_zones puts exo.list_virtual_machines ``` ### DNS ``` require 'exoscale' exo = Exoscale::Compute.new(ENV['EXO_API_KEY'], ENV['EXO_API_SECRET_KEY']) puts exo.list_domains puts exo.create_domain('example.com') puts exo.create_record('example.com', 'www', 'A', '1.2.3.4') ``` ### Apps To do... ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`. ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/nicolasbrechet/ruby-exoscale. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct. ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
exoscale-0.3.3 | README.md |
exoscale-0.3.2 | README.md |
exoscale-0.3.1 | README.md |
exoscale-0.3.0 | README.md |
exoscale-0.2.1 | README.md |