Class: WorkOS::CreateRedirectUri
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::CreateRedirectUri
- Defined in:
- lib/workos/user_management/create_redirect_uri.rb
Constant Summary collapse
- HASH_ATTRS =
{ uri: :uri }.freeze
Instance Attribute Summary collapse
-
#uri ⇒ Object
Returns the value of attribute uri.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ CreateRedirectUri
constructor
A new instance of CreateRedirectUri.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ CreateRedirectUri
Returns a new instance of CreateRedirectUri.
13 14 15 16 |
# File 'lib/workos/user_management/create_redirect_uri.rb', line 13 def initialize(json) hash = self.class.normalize(json) @uri = hash[:uri] end |
Instance Attribute Details
#uri ⇒ Object
Returns the value of attribute uri.
11 12 13 |
# File 'lib/workos/user_management/create_redirect_uri.rb', line 11 def uri @uri end |