Class: Tangram::LoadModelOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/tangram/tangram.rb

Overview

These are the options passed when loading a model.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_urlObject (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