Sha256: d8888129e963b355bd4463f456dc36608db3b12dd961979c4cc328c7e0839ab8

Contents?: true

Size: 197 Bytes

Versions: 3

Compression:

Stored size: 197 Bytes

Contents

module ActivityStreams
  class Object::Question < Object
    attr_optional :options

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activitystreams-0.0.4 lib/activitystreams/object/question.rb
activitystreams-0.0.3 lib/activitystreams/object/question.rb
activitystreams-0.0.2 lib/activitystreams/object/question.rb