Class: WorkOS::RadarListEntryAlreadyPresentResponse

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/workos/radar/radar_list_entry_already_present_response.rb

Constant Summary collapse

HASH_ATTRS =
{
  message: :message
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ RadarListEntryAlreadyPresentResponse

Returns a new instance of RadarListEntryAlreadyPresentResponse.



13
14
15
16
# File 'lib/workos/radar/radar_list_entry_already_present_response.rb', line 13

def initialize(json)
  hash = self.class.normalize(json)
  @message = hash[:message]
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



11
12
13
# File 'lib/workos/radar/radar_list_entry_already_present_response.rb', line 11

def message
  @message
end