Class: Dag::Model
- Inherits:
-
Object
- Object
- Dag::Model
- Defined in:
- lib/dag/client/model.rb
Direct Known Subclasses
Bucket, BucketCollection, Cluster, ClusterCollection, Database, DatabaseCollection, Job, JobCollection, Object, ObjectCollection, Table, TableCollection
Instance Attribute Summary collapse
-
#api ⇒ Object
readonly
Returns the value of attribute api.
Instance Method Summary collapse
-
#initialize(api) ⇒ Model
constructor
A new instance of Model.
Constructor Details
#initialize(api) ⇒ Model
Returns a new instance of Model.
3 4 5 |
# File 'lib/dag/client/model.rb', line 3 def initialize(api) @api = api end |
Instance Attribute Details
#api ⇒ Object (readonly)
Returns the value of attribute api.
7 8 9 |
# File 'lib/dag/client/model.rb', line 7 def api @api end |