Class: Clarinet::App
- Inherits:
-
Object
- Object
- Clarinet::App
- Defined in:
- lib/clarinet/app.rb
Instance Attribute Summary collapse
- #concepts ⇒ Clarinet::Concepts readonly
- #inputs ⇒ Clarinet::Inputs readonly
- #models ⇒ Clarinet::Models readonly
Instance Method Summary collapse
-
#initialize(api_key) ⇒ App
constructor
A new instance of App.
Constructor Details
#initialize(api_key) ⇒ App
Returns a new instance of App.
19 20 21 22 23 24 25 |
# File 'lib/clarinet/app.rb', line 19 def initialize(api_key) @client = Clarinet::Client.new api_key @concepts = Clarinet::Concepts.new self @inputs = Clarinet::Inputs.new self @models = Clarinet::Models.new self end |
Instance Attribute Details
#concepts ⇒ Clarinet::Concepts (readonly)
10 11 12 |
# File 'lib/clarinet/app.rb', line 10 def concepts @concepts end |
#inputs ⇒ Clarinet::Inputs (readonly)
13 14 15 |
# File 'lib/clarinet/app.rb', line 13 def inputs @inputs end |
#models ⇒ Clarinet::Models (readonly)
16 17 18 |
# File 'lib/clarinet/app.rb', line 16 def models @models end |