lib/socialcastr/external_resource.rb in socialcastr-0.0.1 vs lib/socialcastr/external_resource.rb in socialcastr-0.1.0
- old
+ new
@@ -1,11 +1,11 @@
module Socialcastr
class ExternalResource < Base
element :type
- element :tags, :as => :tag_list, :class => Socialcastr::TagList
+ elements :tag, :as => :tags, :class => Socialcastr::Tag
element :canonical_hashtag
element :source, :class => Socialcastr::Source
- element :media_files, :as => :media_file_list, :class => Socialcastr::MediaFileList
+ elements :media_file, :as => :media_files, :class => Socialcastr::MediaFile
element :url
element :title
element :description
element :id