lib/gaspm/google_drive_helper.rb
def retrieve_file_info(id)
      result = google_client.execute!(
          :api_method => google_drive.files.get,
          :parameters => {
              :fileId => id
          }
      )
      result.data
    end
##
# get info for a certain file
#
# @param [String]
#   Drive File Id
#
# @return [Google::APIClient::Schema::Drive::V1::File]
#   Drive File instance
#
get info for a certain file
get info for a certain file
def retrieve_file_info(id)
      result = google_client.execute!(
          :api_method => google_drive.files.get,
          :parameters => {
              :fileId => id
          }
      )
      result.data
    end
def retrieve_file_info ( id ) result = google_client . execute! ( :api_method => google_drive . files . get , :parameters => { :fileId => id } ) result . data end
get info for a certain file
get info for a certain file
Drive File instance
Drive File instance
Google::APIClient::Schema::Drive::V1::File
id
Drive File Id
Drive File Id