Class: Fizzy::Types::CreateCommentReactionRequestContent

Inherits:
Data
  • Object
show all
Defined in:
lib/fizzy/generated/types.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



392
393
394
# File 'lib/fizzy/generated/types.rb', line 392

def content
  @content
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



394
395
396
397
398
# File 'lib/fizzy/generated/types.rb', line 394

def self.from_json(data)
  new(
    content: data["content"]
  )
end