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



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

def self.primary_key
  'id'
end

Instance Method Details

#idObject



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

def id
  'root'
end

#resultObject



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

def result
  nil
end

#statusObject



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

def status
  true
end

#user_idObject Also known as: job_id



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

def user_id
  0
end