Class: Google::Apis::FormsV1::ExtraMaterial

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/forms_v1/classes.rb,
lib/google/apis/forms_v1/representations.rb,
lib/google/apis/forms_v1/representations.rb

Overview

Supplementary material to the feedback.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExtraMaterial

Returns a new instance of ExtraMaterial.



392
393
394
# File 'lib/google/apis/forms_v1/classes.rb', line 392

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

Link for text. Corresponds to the JSON property link



385
386
387
# File 'lib/google/apis/forms_v1/classes.rb', line 385

def link
  @link
end

#videoGoogle::Apis::FormsV1::VideoLink

Link to a video. Corresponds to the JSON property video



390
391
392
# File 'lib/google/apis/forms_v1/classes.rb', line 390

def video
  @video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



397
398
399
400
# File 'lib/google/apis/forms_v1/classes.rb', line 397

def update!(**args)
  @link = args[:link] if args.key?(:link)
  @video = args[:video] if args.key?(:video)
end