http_log.rb 415 B

123456789101112
  1. FactoryBot.define do
  2. factory :http_log do
  3. direction { 'in' }
  4. facility { 'cti' }
  5. add_attribute(:method) { 'post' }
  6. url { 'https://zammad.fqdn.com/api/v1/integration/cti/log' }
  7. request { { content: 'foo' } }
  8. response { { content: 'bar' } }
  9. created_by_id { 1 }
  10. updated_by_id { 1 }
  11. end
  12. end