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.



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

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

Instance Attribute Details

Link for text. Corresponds to the JSON property link



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

def link
  @link
end

#videoGoogle::Apis::FormsV1::VideoLink

Link to a video. Corresponds to the JSON property video



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

def video
  @video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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