Class: Tortoise::Invoice

Inherits:
ApplicationRecord show all
Defined in:
lib/tortoise/models/invoice.rb

Constant Summary collapse

STARTED =
'started'
DONE =
'done'
FAILED =
'failed'

Instance Method Summary collapse

Instance Method Details

#to_sObject



7
8
9
10
11
12
13
# File 'lib/tortoise/models/invoice.rb', line 7

def to_s
  {
    file: file,
    status: status,
    attempt_number: attempt_number
  }
end