Class: AI21::Dataset
- Inherits:
-
Object
- Object
- AI21::Dataset
- Defined in:
- lib/ai21/dataset.rb
Instance Method Summary collapse
Instance Method Details
#create(name, file) ⇒ Object
13 14 15 |
# File 'lib/ai21/dataset.rb', line 13 def create(name, file) # TODO: create dataset endpoint end |
#delete(id) ⇒ Object
17 18 19 |
# File 'lib/ai21/dataset.rb', line 17 def delete(id) AI21::Client.delete("/dataset/#{id}") end |