nft_storage 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +68 -0
  4. data/README.md +118 -0
  5. data/Rakefile +10 -0
  6. data/docs/Deal.md +36 -0
  7. data/docs/DeleteResponse.md +18 -0
  8. data/docs/ErrorResponse.md +20 -0
  9. data/docs/ErrorResponseError.md +20 -0
  10. data/docs/ForbiddenErrorResponse.md +20 -0
  11. data/docs/ForbiddenErrorResponseError.md +20 -0
  12. data/docs/GetResponse.md +20 -0
  13. data/docs/Links.md +22 -0
  14. data/docs/LinksFile.md +20 -0
  15. data/docs/ListResponse.md +20 -0
  16. data/docs/NFT.md +32 -0
  17. data/docs/NFTStorageAPI.md +289 -0
  18. data/docs/Pin.md +26 -0
  19. data/docs/PinStatus.md +15 -0
  20. data/docs/UnauthorizedErrorResponse.md +20 -0
  21. data/docs/UnauthorizedErrorResponseError.md +20 -0
  22. data/docs/UploadResponse.md +20 -0
  23. data/git_push.sh +58 -0
  24. data/lib/nft_storage/api/nft_storage_api.rb +282 -0
  25. data/lib/nft_storage/api_client.rb +390 -0
  26. data/lib/nft_storage/api_error.rb +57 -0
  27. data/lib/nft_storage/configuration.rb +278 -0
  28. data/lib/nft_storage/models/deal.rb +364 -0
  29. data/lib/nft_storage/models/delete_response.rb +218 -0
  30. data/lib/nft_storage/models/error_response.rb +229 -0
  31. data/lib/nft_storage/models/error_response_error.rb +227 -0
  32. data/lib/nft_storage/models/forbidden_error_response.rb +229 -0
  33. data/lib/nft_storage/models/forbidden_error_response_error.rb +263 -0
  34. data/lib/nft_storage/models/get_response.rb +229 -0
  35. data/lib/nft_storage/models/links.rb +238 -0
  36. data/lib/nft_storage/models/links_file.rb +227 -0
  37. data/lib/nft_storage/models/list_response.rb +231 -0
  38. data/lib/nft_storage/models/nft.rb +329 -0
  39. data/lib/nft_storage/models/pin.rb +256 -0
  40. data/lib/nft_storage/models/pin_status.rb +39 -0
  41. data/lib/nft_storage/models/unauthorized_error_response.rb +229 -0
  42. data/lib/nft_storage/models/unauthorized_error_response_error.rb +231 -0
  43. data/lib/nft_storage/models/upload_response.rb +229 -0
  44. data/lib/nft_storage/version.rb +15 -0
  45. data/lib/nft_storage.rb +56 -0
  46. data/nft_storage.gemspec +38 -0
  47. data/spec/api/nft_storage_api_spec.rb +83 -0
  48. data/spec/api_client_spec.rb +226 -0
  49. data/spec/configuration_spec.rb +42 -0
  50. data/spec/models/deal_spec.rb +96 -0
  51. data/spec/models/delete_response_spec.rb +34 -0
  52. data/spec/models/error_response_error_spec.rb +40 -0
  53. data/spec/models/error_response_spec.rb +40 -0
  54. data/spec/models/forbidden_error_response_error_spec.rb +44 -0
  55. data/spec/models/forbidden_error_response_spec.rb +40 -0
  56. data/spec/models/get_response_spec.rb +40 -0
  57. data/spec/models/links_file_spec.rb +40 -0
  58. data/spec/models/links_spec.rb +46 -0
  59. data/spec/models/list_response_spec.rb +40 -0
  60. data/spec/models/nft_spec.rb +80 -0
  61. data/spec/models/pin_spec.rb +58 -0
  62. data/spec/models/pin_status_spec.rb +28 -0
  63. data/spec/models/unauthorized_error_response_error_spec.rb +40 -0
  64. data/spec/models/unauthorized_error_response_spec.rb +40 -0
  65. data/spec/models/upload_response_spec.rb +40 -0
  66. data/spec/spec_helper.rb +111 -0
  67. metadata +168 -0
metadata ADDED
@@ -0,0 +1,168 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nft_storage
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - OpenAPI-Generator
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-11-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: typhoeus
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.1
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.1
33
+ - !ruby/object:Gem::Dependency
34
+ name: rspec
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '3.6'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 3.6.0
43
+ type: :development
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '3.6'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 3.6.0
53
+ description: A client library for the https://nft.storage/ service.
54
+ email:
55
+ - ''
56
+ executables: []
57
+ extensions: []
58
+ extra_rdoc_files: []
59
+ files:
60
+ - Gemfile
61
+ - Gemfile.lock
62
+ - README.md
63
+ - Rakefile
64
+ - docs/Deal.md
65
+ - docs/DeleteResponse.md
66
+ - docs/ErrorResponse.md
67
+ - docs/ErrorResponseError.md
68
+ - docs/ForbiddenErrorResponse.md
69
+ - docs/ForbiddenErrorResponseError.md
70
+ - docs/GetResponse.md
71
+ - docs/Links.md
72
+ - docs/LinksFile.md
73
+ - docs/ListResponse.md
74
+ - docs/NFT.md
75
+ - docs/NFTStorageAPI.md
76
+ - docs/Pin.md
77
+ - docs/PinStatus.md
78
+ - docs/UnauthorizedErrorResponse.md
79
+ - docs/UnauthorizedErrorResponseError.md
80
+ - docs/UploadResponse.md
81
+ - git_push.sh
82
+ - lib/nft_storage.rb
83
+ - lib/nft_storage/api/nft_storage_api.rb
84
+ - lib/nft_storage/api_client.rb
85
+ - lib/nft_storage/api_error.rb
86
+ - lib/nft_storage/configuration.rb
87
+ - lib/nft_storage/models/deal.rb
88
+ - lib/nft_storage/models/delete_response.rb
89
+ - lib/nft_storage/models/error_response.rb
90
+ - lib/nft_storage/models/error_response_error.rb
91
+ - lib/nft_storage/models/forbidden_error_response.rb
92
+ - lib/nft_storage/models/forbidden_error_response_error.rb
93
+ - lib/nft_storage/models/get_response.rb
94
+ - lib/nft_storage/models/links.rb
95
+ - lib/nft_storage/models/links_file.rb
96
+ - lib/nft_storage/models/list_response.rb
97
+ - lib/nft_storage/models/nft.rb
98
+ - lib/nft_storage/models/pin.rb
99
+ - lib/nft_storage/models/pin_status.rb
100
+ - lib/nft_storage/models/unauthorized_error_response.rb
101
+ - lib/nft_storage/models/unauthorized_error_response_error.rb
102
+ - lib/nft_storage/models/upload_response.rb
103
+ - lib/nft_storage/version.rb
104
+ - nft_storage.gemspec
105
+ - spec/api/nft_storage_api_spec.rb
106
+ - spec/api_client_spec.rb
107
+ - spec/configuration_spec.rb
108
+ - spec/models/deal_spec.rb
109
+ - spec/models/delete_response_spec.rb
110
+ - spec/models/error_response_error_spec.rb
111
+ - spec/models/error_response_spec.rb
112
+ - spec/models/forbidden_error_response_error_spec.rb
113
+ - spec/models/forbidden_error_response_spec.rb
114
+ - spec/models/get_response_spec.rb
115
+ - spec/models/links_file_spec.rb
116
+ - spec/models/links_spec.rb
117
+ - spec/models/list_response_spec.rb
118
+ - spec/models/nft_spec.rb
119
+ - spec/models/pin_spec.rb
120
+ - spec/models/pin_status_spec.rb
121
+ - spec/models/unauthorized_error_response_error_spec.rb
122
+ - spec/models/unauthorized_error_response_spec.rb
123
+ - spec/models/upload_response_spec.rb
124
+ - spec/spec_helper.rb
125
+ homepage: https://openapi-generator.tech
126
+ licenses:
127
+ - Unlicense
128
+ metadata: {}
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '2.4'
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ requirements: []
144
+ rubygems_version: 3.2.22
145
+ signing_key:
146
+ specification_version: 4
147
+ summary: A client library for the https://nft.storage/ service.
148
+ test_files:
149
+ - spec/api/nft_storage_api_spec.rb
150
+ - spec/api_client_spec.rb
151
+ - spec/configuration_spec.rb
152
+ - spec/models/forbidden_error_response_error_spec.rb
153
+ - spec/models/error_response_spec.rb
154
+ - spec/models/pin_status_spec.rb
155
+ - spec/models/pin_spec.rb
156
+ - spec/models/deal_spec.rb
157
+ - spec/models/list_response_spec.rb
158
+ - spec/models/links_file_spec.rb
159
+ - spec/models/upload_response_spec.rb
160
+ - spec/models/forbidden_error_response_spec.rb
161
+ - spec/models/links_spec.rb
162
+ - spec/models/error_response_error_spec.rb
163
+ - spec/models/delete_response_spec.rb
164
+ - spec/models/unauthorized_error_response_spec.rb
165
+ - spec/models/get_response_spec.rb
166
+ - spec/models/nft_spec.rb
167
+ - spec/models/unauthorized_error_response_error_spec.rb
168
+ - spec/spec_helper.rb