Class: CypressTestApi::OAuthScopeOAuthACGEnum
- Inherits:
-
Object
- Object
- CypressTestApi::OAuthScopeOAuthACGEnum
- Defined in:
- lib/cypress_test_api/models/o_auth_scope_o_auth_acg_enum.rb
Overview
OAuth 2 scopes supported by the API
Constant Summary collapse
- O_AUTH_SCOPE_O_AUTH_ACG_ENUM =
[ # TODO: Write general description for ENUM_FILE_REQUESTSREAD ENUM_FILE_REQUESTSREAD = 'file_requests.read'.freeze, # TODO: Write general description for ZAHRA ZAHRA = 'zahra'.freeze, # TODO: Write general description for TEST1 TEST1 = 'test1'.freeze, # TODO: Write general description for SELECTION SELECTION = 'selection'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
23 24 25 26 27 |
# File 'lib/cypress_test_api/models/o_auth_scope_o_auth_acg_enum.rb', line 23 def self.validate(value) return false if value.nil? O_AUTH_SCOPE_O_AUTH_ACG_ENUM.include?(value) end |