Skip to content

Commit

Permalink
feat: orgs api
Browse files Browse the repository at this point in the history
  • Loading branch information
manisha1997 committed Nov 26, 2024
1 parent 385d00e commit 75fcbce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions examples/ruby/lib/twilio-ruby/rest/api/v2010/account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def create(
data = Twilio::Values.of({
'RecordingStatusCallback' => recording_status_callback,
'RecordingStatusCallbackEvent' => Twilio.serialize_list(recording_status_callback_event) { |e|
e
},
e
},
'Twiml' => twiml,
})

Expand Down
4 changes: 2 additions & 2 deletions examples/ruby/lib/twilio-ruby/rest/api/v2010/account/call.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def create(
'RequiredStringProperty' => required_string_property,
'TestMethod' => test_method,
'TestArrayOfStrings' => Twilio.serialize_list(test_array_of_strings) { |e|
e
},
e
},
'TestArrayOfUri' => Twilio.serialize_list(test_array_of_uri) { |e| e },
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ def create(
'TestDate' => Twilio.serialize_iso8601_date(test_date),
'TestEnum' => test_enum,
'TestObjectArray' => Twilio.serialize_list(test_object_array) { |e|
Twilio.serialize_object(e)
},
Twilio.serialize_object(e)
},
'TestAnyType' => Twilio.serialize_object(test_any_type),
'TestAnyArray' => Twilio.serialize_list(test_any_array) { |e|
Twilio.serialize_object(e)
},
Twilio.serialize_object(e)
},
'Permissions' => Twilio.serialize_list(permissions) { |e| e },
'SomeA2PThing' => some_a2p_thing,
})
Expand Down

0 comments on commit 75fcbce

Please sign in to comment.