Sha256: b82145204a574e6d5c0e298fa5a6ec46df9642f1657aa89f4bb579c30d16ffe3

Contents?: true

Size: 602 Bytes

Versions: 4

Compression:

Stored size: 602 Bytes

Contents

# frozen_string_literal: true

module TwilioBase
  FactoryBot.define do
    factory :global_config, class: TwilioBase::GlobalConfig do
      api_key_sid
      api_key_secret
      application_sid
      chat_service_sid
      phone_number
      sync_service_sid
      workflow_sid
      workspace_sid
    end

    trait :empty do
      api_key_sid { nil }
      api_key_secret { nil }
      application_sid { nil }
      chat_service_sid { nil }
      message_sid { nil }
      phone_number { nil }
      sync_service_sid { nil }
      workflow_sid { nil }
      workspace_sid { nil }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twilio_base-1.11.1101 spec/factories/global_configs.rb
twilio_base-1.11.11 spec/factories/global_configs.rb
twilio_base-1.9.0 spec/factories/global_configs.rb
twilio_base-1.8.0 spec/factories/global_configs.rb