# frozen_string_literal: true module TwilioBase module Fake class FlexFlow FlexFlow = Struct.new(:attributes) do def channel_type attributes[:channel_type] end def contact_identity attributes[:contact_identity] end def update(update_attributes) attributes.merge(update_attributes) self end end cattr_accessor :flex_flows self.flex_flows = [] def create(args = {}) flex_flow = FlexFlow.new(args) flex_flows << flex_flow flex_flow end def list flex_flows end end end end