Class: ActivityStreams::Object::Question

Inherits:
ActivityStreams::Object show all
Defined in:
lib/activitystreams/object/question.rb

Instance Method Summary collapse

Methods inherited from ActivityStreams::Object

#initialize, #recommended_verbs, recommended_verbs

Methods included from ExtProperties

included

Methods inherited from Base

#as_json, #initialize

Methods included from Validator

#to_float, #to_integer, #to_iri, #to_time, #validate_attribute!

Constructor Details

This class inherits a constructor from ActivityStreams::Object

Instance Method Details

#validate_attributes!Object



5
6
7
8
# File 'lib/activitystreams/object/question.rb', line 5

def validate_attributes!
  super
  validate_attribute! :options, Object, :arrayed!
end