Class: Marty::VwPromise::VirtualRoot

Inherits:
Object
  • Object
show all
Defined in:
app/models/marty/vw_promise.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.primary_keyObject



15
16
17
# File 'app/models/marty/vw_promise.rb', line 15

def self.primary_key
  'id'
end

Instance Method Details

#idObject



19
20
21
# File 'app/models/marty/vw_promise.rb', line 19

def id
  'root'
end

#resultObject



28
29
30
# File 'app/models/marty/vw_promise.rb', line 28

def result
  nil
end

#statusObject



33
34
35
# File 'app/models/marty/vw_promise.rb', line 33

def status
  true
end

#user_idObject Also known as: job_id



23
24
25
# File 'app/models/marty/vw_promise.rb', line 23

def user_id
  0
end