lib/chargebee/models/export.rb in chargebee-2.35.0 vs lib/chargebee/models/export.rb in chargebee-2.36.0

- old
+ new

@@ -4,9 +4,10 @@ class Download < Model attr_accessor :download_url, :valid_till, :mime_type end attr_accessor :id, :operation_type, :mime_type, :status, :created_at, :download + def wait_for_export_completion(env = nil, headers={}) env = env || ChargeBee.default_env sleeptime = env.export_sleeptime export_final = (1..50).inject(self) do |export| \ No newline at end of file