Class: ActivityStreams::Object::Place
- Inherits:
-
ActivityStreams::Object
- Object
- Base
- ActivityStreams::Object
- ActivityStreams::Object::Place
- Defined in:
- lib/activitystreams/object/place.rb
Defined Under Namespace
Classes: Address, GeoLocation
Instance Method Summary collapse
Methods inherited from ActivityStreams::Object
#initialize, #recommended_verbs, recommended_verbs
Methods included from ExtProperties
Methods inherited from Base
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
19 20 21 22 23 |
# File 'lib/activitystreams/object/place.rb', line 19 def validate_attributes! super validate_attribute! :position, GeoLocation validate_attribute! :address, Address end |