base-api-io 0.1.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +8 -2
- data/lib/base/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a02da5f699199bf93cd13504ad4bde5a881560f371882d99252c6fc35d1db5f1
|
4
|
+
data.tar.gz: 4e000f8d5d22569f148e91501d75c5dffedf0703b8c62a4c71653dd219cb6ff5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd672ebc77dea2de4467a9842fc576ea9acd9a72d7bd1c485862f91c3622f372c0111d74c452b0eb51ce5db815279289e96a569f0254c4cff4ff7e649cebd459
|
7
|
+
data.tar.gz: e039551f3bc6f7f6c808c0021b45ef1b1cb9ec3a0fa26b9c9de76fb8f2d128cad5577c9f460cb676af827e60ee2a273ac42c3301bdecdb043fa0263af5c6c1fd
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -112,7 +112,10 @@ download files:
|
|
112
112
|
```ruby
|
113
113
|
# Create a file
|
114
114
|
file =
|
115
|
-
client.files.create(
|
115
|
+
client.files.create(
|
116
|
+
path: '/path/to/file',
|
117
|
+
filename: 'text.txt',
|
118
|
+
type: 'text/plain')
|
116
119
|
|
117
120
|
# Get a file by id
|
118
121
|
file =
|
@@ -139,7 +142,10 @@ process images:
|
|
139
142
|
```ruby
|
140
143
|
# Create an image
|
141
144
|
image =
|
142
|
-
client.images.create(
|
145
|
+
client.images.create(
|
146
|
+
path: '/path/to/image',
|
147
|
+
filename: 'image.png',
|
148
|
+
type: 'image/png')
|
143
149
|
|
144
150
|
# Get a image by id
|
145
151
|
image =
|
data/lib/base/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: base-api-io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gusztáv Szikszai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|