Sha256: 567156425d0b6dbf8488f9fdc55674658e4a902b9bcede5e5d1096267427d3e0
Contents?: true
Size: 1.74 KB
Versions: 1
Compression:
Stored size: 1.74 KB
Contents
# Ivapi Gem which helps to communicate with Interneto vizija [https://www.iv.lt][iv.lt] ([https://wwww.dedikuoti.lt][dedikuoti.lt]) API. [![Gem Version](https://img.shields.io/gem/v/ivapi.svg?style=flat-square)][rubygems] [![Coverage Status](https://img.shields.io/codecov/c/github/jpalumickas/ivapi?style=flat-square)][codecov] ## Installation Add this line to your application's Gemfile: ```rb gem 'ivapi' ``` And then execute: ```sh $ bundle ``` Or install it yourself as: ```sh $ gem install ivapi ``` ## Usage > The Ivapi Wiki has lots of additional information about this gem including many examples. Please browse the Wiki at: https://github.com/jpalumickas/ivapi/wiki Create a new account at https://klientams.iv.lt/users.php with description "API". ### Authentication ```rb client = Ivapi::Client.new(username: 'foo', password: 'bar') ``` Or create file under `config/initializers/ivapi.rb` ```rb Ivapi.configure do |config| config.username = 'foo' config.password = 'bar' end ``` ### Account information Basic information ```rb Ivapi.account.information ``` Orders ```rb Ivapi.account.orders ``` ### Server information Basic information ```rb Ivapi.server.information ``` ## Supported Ruby Versions This library aims to support and is [tested against][github_actions] the following Ruby versions: * Ruby 2.4.0 * Ruby 2.5.0 * Ruby 2.6.0 * Ruby 2.7.0 ## Copyright Copyright (c) 2012-2020 Justas Palumickas. See [LICENSE][license] for details. [rubygems]: https://rubygems.org/gems/ivapi [codecov]: https://codecov.io/gh/jpalumickas/ivapi [github_actions]: https://github.com/jpalumickas/ivapi/actions [iv.lt]: https://www.iv.lt [dedikuoti.lt]: https://www.dedikuoti.lt [license]: https://raw.githubusercontent.com/jpalumickas/ivapi/master/LICENSE
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ivapi-1.7.0 | README.md |