Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 738 Bytes

AuthorizationCreateParameters.md

File metadata and controls

21 lines (14 loc) · 738 Bytes

Phrase::AuthorizationCreateParameters

Properties

Name Type Description Notes
note String A note to help you remember what the access is used for.
scopes Array<String> A list of scopes that the access can be used for. [optional]
expires_at Time Expiration date for the authorization token. Null means no expiration date (default). [optional]

Code Sample

require 'Phrase'

instance = Phrase::AuthorizationCreateParameters.new(note: My Deploy Script,
                                 scopes: [&quot;read&quot;,&quot;write&quot;],
                                 expires_at: 2015-03-30T09:52:53Z)