cobrato-client 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/README.md +13 -7
- data/lib/cobrato/entities/charge_config.rb +1 -0
- data/lib/cobrato/resources/charge_config.rb +6 -0
- data/lib/cobrato/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 195f6657f4a3ea8de6225b0399f5ec341a422aff
|
4
|
+
data.tar.gz: 46fb1e12a60ebcd6bfab15929c46e8dc84fea410
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de0c392bb0bb88567192950020c44142b46392ee18a30b9a7ce6d849d1763099773d004075fdbb039382f60fd441860369d53b51e4ea96ab1cc0907ab5cf0c22
|
7
|
+
data.tar.gz: e0ad2ec52cb86a94eab4a6c92756645aaf7ad3ff3e5cddf3bdc90794d646c325462ffb7d648295920094edc3a6d2253f2b19f196c63d4513e18be0f77fb0870f
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -8,6 +8,10 @@ This is the official Ruby client for the [Cobrato](https://app.cobrato.com) API.
|
|
8
8
|
[![Code Climate Grade](https://codeclimate.com/github/myfreecomm/cobrato-client-ruby/badges/gpa.svg)](https://codeclimate.com/github/myfreecomm/cobrato-client-ruby)
|
9
9
|
[![Inline docs](http://inch-ci.org/github/myfreecomm/cobrato-client-ruby.svg?branch=master)](http://inch-ci.org/github/myfreecomm/cobrato-client-ruby)
|
10
10
|
|
11
|
+
## Compatibility
|
12
|
+
|
13
|
+
The Cobrato Ruby Client is compatible with Ruby 2.4.3 or higher.
|
14
|
+
|
11
15
|
## Installation
|
12
16
|
|
13
17
|
Add this line to your application's Gemfile:
|
@@ -106,13 +110,15 @@ Now you have acess to every API endpoint:
|
|
106
110
|
|
107
111
|
#### [Charge Configs](http://docs.cobrato.com/#configura-o-de-cobran-a)
|
108
112
|
|
109
|
-
| HTTP method | Endpoint
|
110
|
-
| ----------- |
|
111
|
-
| POST | [api/v1/charge_configs](http://docs.cobrato.com/#cria-o-de-configura-o-de-cobran-a)
|
112
|
-
| GET | [api/v1/charge_configs](http://docs.cobrato.com/#lista-de-todas-as-configura-es-de-cobran-a)
|
113
|
-
| GET | [api/v1/charge_configs/:id](http://docs.cobrato.com/#informa-es-de-configura-o-de-cobran-a)
|
114
|
-
| PUT | [api/v1/charge_configs/:id](http://docs.cobrato.com/#atualiza-o-de-configura-o-de-cobran-a)
|
115
|
-
| DELETE | [api/v1/charge_configs/:id](http://docs.cobrato.com/#exclus-o-de-configura-o-de-cobran-a)
|
113
|
+
| HTTP method | Endpoint | Client method |
|
114
|
+
| ----------- | ------------------------------------------------------------------------------------------------------ | -------------------------------- |
|
115
|
+
| POST | [api/v1/charge_configs](http://docs.cobrato.com/#cria-o-de-configura-o-de-cobran-a) | client.charge_configs.create |
|
116
|
+
| GET | [api/v1/charge_configs](http://docs.cobrato.com/#lista-de-todas-as-configura-es-de-cobran-a) | client.charge_configs.list |
|
117
|
+
| GET | [api/v1/charge_configs/:id](http://docs.cobrato.com/#informa-es-de-configura-o-de-cobran-a) | client.charge_configs.show |
|
118
|
+
| PUT | [api/v1/charge_configs/:id](http://docs.cobrato.com/#atualiza-o-de-configura-o-de-cobran-a) | client.charge_configs.update |
|
119
|
+
| DELETE | [api/v1/charge_configs/:id](http://docs.cobrato.com/#exclus-o-de-configura-o-de-cobran-a) | client.charge_configs.destroy |
|
120
|
+
| POST | [api/v1/charge_configs/:id/deactivate](http://docs.cobrato.com/#desativa-o-de-configura-o-de-cobran-a) | client.charge_configs.deactivate |
|
121
|
+
|
116
122
|
|
117
123
|
#### [Charges](http://docs.cobrato.com/#cobran-a)
|
118
124
|
|
data/lib/cobrato/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cobrato-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcio Ricardo Santos
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-06-
|
13
|
+
date: 2018-06-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: typhoeus
|