Class: MultiAuthSample::OAuthScopeOAuthACGEnum
- Inherits:
-
Object
- Object
- MultiAuthSample::OAuthScopeOAuthACGEnum
- Defined in:
- lib/multi_auth_sample/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 =
[ # Read request for files READ_SCOPE = 'file_requests.read'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
14 15 16 17 18 |
# File 'lib/multi_auth_sample/models/o_auth_scope_o_auth_acg_enum.rb', line 14 def self.validate(value) return false if value.nil? O_AUTH_SCOPE_O_AUTH_ACG_ENUM.include?(value) end |