Method: Twilio::REST::Preview::Sync::ServiceContext::SyncMapInstance#context

Defined in:
lib/twilio-ruby/rest/preview/sync/service/sync_map.rb

#contextSyncMapContext

Generate an instance context for the instance, the context is capable of performing various actions. All instance actions are proxied to the context

Returns:



326
327
328
329
330
331
# File 'lib/twilio-ruby/rest/preview/sync/service/sync_map.rb', line 326

def context
    unless @instance_context
        @instance_context = SyncMapContext.new(@version , @params['service_sid'], @params['sid'])
    end
    @instance_context
end