Class: Replicate::Record::Training

Inherits:
Base
  • Object
show all
Defined in:
lib/replicate/record/training.rb

Instance Attribute Summary

Attributes inherited from Base

#client, #data

Instance Method Summary collapse

Methods inherited from Base

#initialize, #inspect, #method_missing

Constructor Details

This class inherits a constructor from Replicate::Record::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Replicate::Record::Base

Instance Method Details

#refetchObject



6
7
8
# File 'lib/replicate/record/training.rb', line 6

def refetch
  @data = client.retrieve_training(id).data
end