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