tencent_cos_sdk 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/lib/tencent_cos_sdk/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94b56311af13f4138cd03eeae50262add8df1e8d
|
4
|
+
data.tar.gz: 9ffa785075032b71da999acb7e90787c5f9edcef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bb2dd50deaa61daca9d4d186c83174bd9a9564022b3d1bbfa44ca70eeae723908a6a29346e7938201a1a10e53a110fadcabec6fd0f863eddf314255f1fe4f46
|
7
|
+
data.tar.gz: 8e661b3aa084817359c75782f8bdce660b985ccc4d434630ece8521f809aaf76bf1485d441c6b38cfeb628a9b01af9bebbc89ed5414fcc915bc450450f4cc6ce
|
data/README.md
CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
1.
|
23
|
+
1. Configure TencentCosSdk using your own SECRET_ID, SECRET_KEY, HOST and parent_path
|
24
24
|
|
25
25
|
```ruby
|
26
26
|
TencentCosSdk.configure do |conf|
|
@@ -31,7 +31,8 @@ TencentCosSdk.configure do |conf|
|
|
31
31
|
end
|
32
32
|
```
|
33
33
|
|
34
|
-
2. Call APIs
|
34
|
+
2. Call APIs to upload, download or delete files
|
35
|
+
|
35
36
|
```ruby
|
36
37
|
response = TencentCosSdk.put '1/abc.txt', body: 'abc123'
|
37
38
|
response = TencentCosSdk.put '1/abc.txt', file: __FILE__
|
@@ -47,7 +48,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
47
48
|
|
48
49
|
## Contributing
|
49
50
|
|
50
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
51
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/xxjapp/tencent_cos_sdk. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
51
52
|
|
52
53
|
## License
|
53
54
|
|
@@ -55,4 +56,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
55
56
|
|
56
57
|
## Code of Conduct
|
57
58
|
|
58
|
-
Everyone interacting in the TencentCosSdk project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
59
|
+
Everyone interacting in the TencentCosSdk project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/xxjapp/tencent_cos_sdk/blob/master/CODE_OF_CONDUCT.md).
|