Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 734 Bytes

File metadata and controls

21 lines (14 loc) · 734 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: ["read","write"],
                                 expires_at: Time.parse('2015-03-30T09:52:53Z'))