somleng/somleng

View on GitHub
app/serializers/csv_serializer/phone_call_serializer.rb

Summary

Maintainability
A
15 mins
Test Coverage
module CSVSerializer
  class PhoneCallSerializer < ResourceSerializer
    def attributes
      super.merge(
        "sid" => nil,
        "account_sid" => nil,
        "phone_number_sid" => nil,
        "from" => nil,
        "to" => nil,
        "duration" => nil,
        "price" => nil,
        "price_unit" => nil,
        "direction" => nil,
        "status" => nil
      )
    end
  end
end