Class: Fizzy::Types::UpdateCommentRequestContent

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



1009
1010
1011
# File 'lib/fizzy/generated/types.rb', line 1009

def body
  @body
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



1011
1012
1013
1014
1015
# File 'lib/fizzy/generated/types.rb', line 1011

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