Class: Tangram::LoadModelOptions
- Inherits:
-
Object
- Object
- Tangram::LoadModelOptions
- Defined in:
- lib/tangram/tangram.rb
Overview
These are the options passed when loading a model.
Instance Attribute Summary collapse
-
#tangram_url ⇒ Object
readonly
If you are running the app locally or on your own server, use this field to provide the url to it.
Instance Method Summary collapse
-
#initialize(tangram_url:) ⇒ LoadModelOptions
constructor
A new instance of LoadModelOptions.
Constructor Details
#initialize(tangram_url:) ⇒ LoadModelOptions
Returns a new instance of LoadModelOptions.
14 15 16 |
# File 'lib/tangram/tangram.rb', line 14 def initialize(tangram_url:) @tangram_url = tangram_url end |
Instance Attribute Details
#tangram_url ⇒ Object (readonly)
If you are running the app locally or on your own server, use this field to provide the url to it. If not specified, the default value is app.tangram.dev.
13 14 15 |
# File 'lib/tangram/tangram.rb', line 13 def tangram_url @tangram_url end |