Class: Mock::Twilio::Decorators::CustomerProfilesV1::ChannelEndpointAssignments

Inherits:
Object
  • Object
show all
Extended by:
Generator
Defined in:
lib/mock/twilio/decorators/customer_profiles_v1/channel_endpoint_assignments.rb

Class Method Summary collapse

Methods included from Generator

friendly_number_generator, phone_number_generator, random_account_sid, random_address_sid, random_assignment_sid, random_bundle_sid, random_identity_sid, random_latitude, random_longitude, random_phone_number_sid, random_twiml_app_sid

Class Method Details

.decorate(body, request) ⇒ Object



11
12
13
14
15
16
# File 'lib/mock/twilio/decorators/customer_profiles_v1/channel_endpoint_assignments.rb', line 11

def decorate(body, request)
  decorate_results(body, request) unless body["results"].nil?
  decorate_meta(body, request) unless body["meta"].nil?

  body
end