rybit 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -10
- data/lib/rybit/client.rb +13 -0
- data/lib/rybit/version.rb +1 -1
- data/lib/rybit.rb +1 -8
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a466b6a116e153db499f7755b86ccab85e332eb733543a8322e9b29ae6ab3e7a
|
4
|
+
data.tar.gz: d8736683b11f35ad9f75e398ae86a5e86f978b5bcb5cdfe2f956820fc0d75db0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99ec0473683f089ea92434def111ad54788db11ff4af8ff751428341e43d20d68b1735bc492615c6b3541ee7fb90b07de6de3e350db3c7bd21917e1079018a21
|
7
|
+
data.tar.gz: 14c57e0c679dddf4e7896b9fe6ba88409a4705e5d7dd5df9bb06e0aca30ae62781df8600563c3dc3f4941d77f6e443551fb665baffa6812b3228c2474ca39143
|
data/README.md
CHANGED
@@ -4,23 +4,33 @@ Bybit API client
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
If bundler is not being used to manage dependencies, install the gem by executing:
|
12
|
-
|
13
|
-
$ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
|
7
|
+
```ruby
|
8
|
+
gem 'rybit' # in your Gemfile
|
9
|
+
```
|
14
10
|
|
15
11
|
## Usage
|
16
12
|
|
17
|
-
|
13
|
+
```ruby
|
14
|
+
client = Rybit::Client.new(
|
15
|
+
key: '<your API KEY>',
|
16
|
+
secret: '<your SECRET KEY>'
|
17
|
+
)
|
18
|
+
|
19
|
+
client.get_wallet_balance
|
20
|
+
```
|
18
21
|
|
19
22
|
## Development
|
20
23
|
|
21
|
-
|
24
|
+
* `bin/setup` to install dependencies
|
25
|
+
* `rake spec` to run the tests
|
26
|
+
* `bin/console` for an interactive prompt
|
27
|
+
---
|
28
|
+
* `bundle exec rake install` to install this gem onto your local machine
|
29
|
+
|
30
|
+
## Release
|
22
31
|
|
23
|
-
|
32
|
+
1. Update the version number in `version.rb`
|
33
|
+
2. Run `bundle exec rake release`
|
24
34
|
|
25
35
|
## Contributing
|
26
36
|
|
data/lib/rybit/client.rb
ADDED
data/lib/rybit/version.rb
CHANGED
data/lib/rybit.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rybit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Georgy Yuriev
|
@@ -36,10 +36,12 @@ files:
|
|
36
36
|
- README.md
|
37
37
|
- Rakefile
|
38
38
|
- lib/rybit.rb
|
39
|
+
- lib/rybit/client.rb
|
39
40
|
- lib/rybit/version.rb
|
40
41
|
- sig/rybit.rbs
|
41
42
|
homepage: https://rubygems.org/gems/rybit
|
42
|
-
licenses:
|
43
|
+
licenses:
|
44
|
+
- MIT
|
43
45
|
metadata:
|
44
46
|
homepage_uri: https://rubygems.org/gems/rybit
|
45
47
|
source_code_uri: https://github.com/light-flight/rybit
|