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