Skip to content

Commit

Permalink
Merge pull request #26 from deepgram-devs/dev
Browse files Browse the repository at this point in the history
Release version 0.2.1
  • Loading branch information
yottalogical committed Aug 9, 2022
2 parents 61a0aa9 + 75f622a commit daa8912
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deepgram"
version = "0.2.0"
version = "0.2.1"
authors = ["Deepgram <[email protected]>"]
edition = "2021"
description = "Official Rust SDK for Deepgram's automated speech recognition APIs."
Expand Down
10 changes: 5 additions & 5 deletions src/keys/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,30 +187,30 @@ impl OptionsBuilder {
self
}

/// Set the expiration date.
/// Set the time to live in seconds.
///
/// This will unset the time to live in seconds.
/// This will unset the expiration date.
///
/// # Examples
///
/// ```
/// # use deepgram::keys::options::Options;
/// #
/// let options = Options::builder("New Key", ["member"])
/// .expiration_date("2038-01-19")
/// .time_to_live_in_seconds(7776000)
/// .build();
/// ```
///
/// ```
/// # use deepgram::keys::options::Options;
/// #
/// let options1 = Options::builder("New Key", ["member"])
/// .time_to_live_in_seconds(7776000)
/// .expiration_date("2038-01-19")
/// .time_to_live_in_seconds(7776000)
/// .build();
///
/// let options2 = Options::builder("New Key", ["member"])
/// .expiration_date("2038-01-19")
/// .time_to_live_in_seconds(7776000)
/// .build();
///
/// assert_eq!(options1, options2);
Expand Down

0 comments on commit daa8912

Please sign in to comment.