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

#job_idObject



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

def job_id
  0
end

#statusObject



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

def status
  true
end

#user_idObject



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

def user_id
  0
end