Skip to content

Commit

Permalink
Add comment indicating where to find license value
Browse files Browse the repository at this point in the history
  • Loading branch information
cody-smarty committed Jul 29, 2024
1 parent d9afffd commit e056af6
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions smarty-rust-sdk/examples/international_autocomplete_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
);

let options = OptionsBuilder::new(Some(authentication))
// The appropriate license values to be used for your subscriptions
// can be found on the Subscriptions page of the account dashboard.
// https://www.smartystreets.com/docs/cloud/licensing
.with_license("international-autocomplete-v2-cloud")
.build();

Expand Down
3 changes: 3 additions & 0 deletions smarty-rust-sdk/examples/international_street_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
);

let options = OptionsBuilder::new(Some(authentication))
// The appropriate license values to be used for your subscriptions
// can be found on the Subscriptions page of the account dashboard.
// https://www.smartystreets.com/docs/cloud/licensing
.with_license("international-global-plus-cloud")
.build();

Expand Down
3 changes: 3 additions & 0 deletions smarty-rust-sdk/examples/logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ async fn main() -> Result<(), Box<dyn Error>> {

// Create the options from it's builder pattern
let options = OptionsBuilder::new(Some(authentication))
// The appropriate license values to be used for your subscriptions
// can be found on the Subscriptions page the account dashboard.
// https://www.smartystreets.com/docs/cloud/licensing
.with_license("us-core-cloud")
.with_logging()
.with_retries(2)
Expand Down
3 changes: 3 additions & 0 deletions smarty-rust-sdk/examples/us_autocomplete_pro_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
);

let options = OptionsBuilder::new(Some(authentication))
// The appropriate license values to be used for your subscriptions
// can be found on the Subscriptions page of the account dashboard.
// https://www.smartystreets.com/docs/cloud/licensing
.with_license("us-autocomplete-pro-cloud")
.build();

Expand Down
3 changes: 3 additions & 0 deletions smarty-rust-sdk/examples/us_enrichment_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ async fn lookup<R: EnrichmentResponse>(key: u32) -> Result<(), Box<dyn Error>> {
);

let options = OptionsBuilder::new(Some(authentication))
// The appropriate license values to be used for your subscriptions
// can be found on the Subscriptions page of the account dashboard.
// https://www.smartystreets.com/docs/cloud/licensing
.with_license(&format!("us-property-data-{}-cloud", R::lookup_type()))
.with_logging()
.build();
Expand Down
3 changes: 3 additions & 0 deletions smarty-rust-sdk/examples/us_extract_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
);

let options = OptionsBuilder::new(Some(authentication))
// The appropriate license values to be used for your subscriptions
// can be found on the Subscriptions page of the account dashboard.
// https://www.smartystreets.com/docs/cloud/licensing
.with_license("us-core-cloud")
.with_logging()
.build();
Expand Down
3 changes: 3 additions & 0 deletions smarty-rust-sdk/examples/us_reverse_geo_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
);

let options = OptionsBuilder::new(Some(authentication))
// The appropriate license values to be used for your subscriptions
// can be found on the Subscriptions page of the account dashboard.
// https://www.smartystreets.com/docs/cloud/licensing
.with_license("us-reverse-geocoding-cloud")
.build();

Expand Down
3 changes: 3 additions & 0 deletions smarty-rust-sdk/examples/us_street_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
);

let options = OptionsBuilder::new(Some(authentication))
// The appropriate license values to be used for your subscriptions
// can be found on the Subscriptions page of the account dashboard.
// https://www.smartystreets.com/docs/cloud/licensing
.with_license("us-core-cloud")
.build();

Expand Down
3 changes: 3 additions & 0 deletions smarty-rust-sdk/examples/us_street_multithread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ async fn main() -> Result<(), Box<dyn Error>> {

// Set Up The Options Here
let options = OptionsBuilder::new(Some(authentication))
// The appropriate license values to be used for your subscriptions
// can be found on the Subscriptions page of the account dashboard.
// https://www.smartystreets.com/docs/cloud/licensing
.with_license("us-core-cloud")
.with_logging()
.build();
Expand Down
3 changes: 3 additions & 0 deletions smarty-rust-sdk/examples/us_zipcode_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
);

let options = OptionsBuilder::new(Some(authentication))
// The appropriate license values to be used for your subscriptions
// can be found on the Subscriptions page of the account dashboard.
// https://www.smartystreets.com/docs/cloud/licensing
.with_license("us-core-cloud")
.build();

Expand Down

0 comments on commit e056af6

Please sign in to comment.