Class: Marty::VwPromise::VirtualRoot
- Inherits:
-
Object
- Object
- Marty::VwPromise::VirtualRoot
- Defined in:
- app/models/marty/vw_promise.rb
Class Method Summary collapse
Instance Method Summary collapse
- #id ⇒ Object
- #result ⇒ Object
- #status ⇒ Object
- #user_id ⇒ Object (also: #job_id)
Class Method Details
.primary_key ⇒ Object
14 15 16 |
# File 'app/models/marty/vw_promise.rb', line 14 def self.primary_key 'id' end |
Instance Method Details
#id ⇒ Object
18 19 20 |
# File 'app/models/marty/vw_promise.rb', line 18 def id 'root' end |
#result ⇒ Object
27 28 29 |
# File 'app/models/marty/vw_promise.rb', line 27 def result nil end |
#status ⇒ Object
32 33 34 |
# File 'app/models/marty/vw_promise.rb', line 32 def status true end |
#user_id ⇒ Object Also known as: job_id
22 23 24 |
# File 'app/models/marty/vw_promise.rb', line 22 def user_id 0 end |