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
15 16 17 |
# File 'app/models/marty/vw_promise.rb', line 15 def self.primary_key 'id' end |
Instance Method Details
#id ⇒ Object
19 20 21 |
# File 'app/models/marty/vw_promise.rb', line 19 def id 'root' end |
#result ⇒ Object
28 29 30 |
# File 'app/models/marty/vw_promise.rb', line 28 def result nil end |
#status ⇒ Object
33 34 35 |
# File 'app/models/marty/vw_promise.rb', line 33 def status true end |
#user_id ⇒ Object Also known as: job_id
23 24 25 |
# File 'app/models/marty/vw_promise.rb', line 23 def user_id 0 end |