Class: Replicate::Record::Model
- Defined in:
- lib/replicate/record/model.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(client, params) ⇒ Model
constructor
A new instance of Model.
Methods inherited from Base
Constructor Details
#initialize(client, params) ⇒ Model
Returns a new instance of Model.
6 7 8 9 |
# File 'lib/replicate/record/model.rb', line 6 def initialize(client, params) params["latest_version"] = Replicate::Record::ModelVersion.new(client, params["latest_version"]) super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Replicate::Record::Base