Skip to content
This repository was archived by the owner on Feb 10, 2021. It is now read-only.

Rest client refactor#11

Merged
smitchell2240 merged 9 commits intomasterfrom
rest-client-refactor
Oct 20, 2014
Merged

Rest client refactor#11
smitchell2240 merged 9 commits intomasterfrom
rest-client-refactor

Conversation

@smitchell2240
Copy link
Contributor

  • Refactored all resources to use new BandwidthClient and the new pattern with static factory methods get, list and create.
  • Refactored all tests to use the new static methods
  • Misc bug fixes

…tatic factory method to take client as argument
…tion with new get, list, and create methods. Refactor ApplicationTest to use the new methods. Add new MockClient class.
…dthClient and the new get, list, create pattern. Refactored the BridgeTest, CallTest, RecordingTest and GatherTest classes to use the new methods
…e method to Message. Add new TextMessageExample. Refactored MessageTest to use new methods. Add new BandwidthClient.getInstance() method to set the creds
…ed ErrorTest to use the new methods. Refactored ErrorDetail with new BandwidthClient. Updated ResourceListExample to use new methods
…, create pattern. Refactor MediaTest and MediaFile test to use the new methods. Refactor ResourceListExample to use new methods
…t, list, create pattern. Refactor PhoneNumberTest and AvailableNumberTest to use new methods. Refactor ResourceListExample to use AvailableNumber search methods. Fix misc bugs associated with searchLocal and searchTollfree
smitchell2240 added a commit that referenced this pull request Oct 20, 2014
@smitchell2240 smitchell2240 merged commit ae2c9e8 into master Oct 20, 2014
@jchavez443 jchavez443 deleted the rest-client-refactor branch December 16, 2019 19:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant