Method: Twilio::REST::Wireless::V1::CommandPage#get_instance

Defined in:
lib/twilio-ruby/rest/wireless/v1/command.rb

#get_instance(payload) ⇒ CommandInstance

Build an instance of CommandInstance

Parameters:

  • payload (Hash)

    Payload response from the API

Returns:



192
193
194
195
196
197
# File 'lib/twilio-ruby/rest/wireless/v1/command.rb', line 192

def get_instance(payload)
  CommandInstance.new(
      @version,
      payload,
  )
end