Class: ActivityStreams::Object::File

Inherits:
ActivityStreams::Object show all
Defined in:
lib/activitystreams/object/file.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/file.rb', line 5

def validate_attributes!
  super
  to_iri :file_url
end