Class: Fizzy::Types::CreateCardReactionRequestContent

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



344
345
346
# File 'lib/fizzy/generated/types.rb', line 344

def content
  @content
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



346
347
348
349
350
# File 'lib/fizzy/generated/types.rb', line 346

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