You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: native_operation_workflow.rb
    path of file: ./repos/manageiq/app/models/manageiq/providers
    
    the code of the file until where you have to start completion: class ManageIQ::Providers::NativeOperationWorkflow < ManageIQ::Providers::EmsRefreshWorkflow
  def post_refresh
    notification_options = {
      :target_name => target_entity.name,
      :method   
    
  def post_refresh
    notification_options = {
      :target_name => target_entity.name,
      :method      => options[:method]
    }

    if status == "ok"
      type = :provider_operation_success
    else
      type = :provider_operation_failure
      notification_options[:error] = message
    end