Class: WorkOS::UpdateJWTTemplate

Inherits:
Types::BaseModel show all
Defined in:
lib/workos/user_management/update_jwt_template.rb

Constant Summary collapse

HASH_ATTRS =
{
  content: :content
}.freeze

Instance Attribute Summary collapse

Attributes inherited from Types::BaseModel

#last_response

Instance Method Summary collapse

Methods inherited from Types::BaseModel

normalize

Methods included from HashProvider

#inspect, #to_h, #to_json

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

#contentObject

Returns the value of attribute content.



11
12
13
# File 'lib/workos/user_management/update_jwt_template.rb', line 11

def content
  @content
end