README.md in pinata-1.0.1 vs README.md in pinata-1.0.2
- old
+ new
@@ -1,7 +1,8 @@
# Pinata
+[![Gem Version](https://badge.fury.io/rb/pinata.svg)](https://badge.fury.io/rb/pinata)
[![Build Status](https://github.com/onyxmueller/pinata-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/onyxmueller/pinata-ruby/actions/workflows/build.yml)
![header](https://docs.mypinata.cloud/ipfs/QmP9PGe3PdUqmsq8xY4sEW3qgdXx4WT9ictTWCb3qyzz3s?img-format=webp)
The Pinata Ruby library provides convenient access to the Pinata API from applications written in the Ruby language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses.
@@ -80,10 +81,11 @@
```ruby
client.files.upload(file: "/path/to/file")
client.files.list
client.files.list("metadata[key]": "value")
-client.files.update(file_id: "thefileid", "name": "thenameoffile")
+client.files.get(file_id: "1234567890")
+client.files.update(file_id: "thefilesid", "name": "thenameoffile")
client.files.sign("gateway": "yourgatewaydomain", "file_cid": "thefilecid", "expires": 500000)
```
## Development