lib/google/cloud/bigquery/job.rb in google-cloud-bigquery-0.21.0 vs lib/google/cloud/bigquery/job.rb in google-cloud-bigquery-0.23.0
- old
+ new
@@ -124,29 +124,29 @@
end
##
# The time when the job was created.
def created_at
- Time.at(Integer(@gapi.statistics.creation_time) / 1000.0)
+ ::Time.at(Integer(@gapi.statistics.creation_time) / 1000.0)
rescue
nil
end
##
# The time when the job was started.
# This field is present after the job's state changes from `PENDING`
# to either `RUNNING` or `DONE`.
def started_at
- Time.at(Integer(@gapi.statistics.start_time) / 1000.0)
+ ::Time.at(Integer(@gapi.statistics.start_time) / 1000.0)
rescue
nil
end
##
# The time when the job ended.
# This field is present when the job's state is `DONE`.
def ended_at
- Time.at(Integer(@gapi.statistics.end_time) / 1000.0)
+ ::Time.at(Integer(@gapi.statistics.end_time) / 1000.0)
rescue
nil
end
##