Class: Marty::Promise::VirtualRoot
- Inherits:
-
Object
- Object
- Marty::Promise::VirtualRoot
- Defined in:
- app/models/marty/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
43 44 45 |
# File 'app/models/marty/promise.rb', line 43 def self.primary_key 'id' end |
Instance Method Details
#id ⇒ Object
47 48 49 |
# File 'app/models/marty/promise.rb', line 47 def id 'root' end |
#result ⇒ Object
56 57 58 |
# File 'app/models/marty/promise.rb', line 56 def result nil end |
#status ⇒ Object
61 62 63 |
# File 'app/models/marty/promise.rb', line 61 def status true end |
#user_id ⇒ Object Also known as: job_id
51 52 53 |
# File 'app/models/marty/promise.rb', line 51 def user_id 0 end |