Sha256: beea902fb07179beeb32bd738eb46242bf0495ebd595c35334e38871dfa8024d
Contents?: true
Size: 656 Bytes
Versions: 4
Compression:
Stored size: 656 Bytes
Contents
# 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
Version data entries
4 entries across 4 versions & 1 rubygems