Module: ActiveRecord::Acts::ShareableObject::DefaultProperties
- Defined in:
- lib/acts_as_shareable_object/active_record/acts/shareable_object/default_properties.rb
Constant Summary collapse
- TWITTER =
[ twitter: [ :card, :title, :description, :url, :image0, :image1, :image2, :image3, :data1, :label1, :data2, :label2, image: [ :src, :width, :height ], player: [ :width, :height, :stream ], site: [:id], creator: [:id], app: [ name: [ :iphone, :ipad, :googleplay ], id: [ :iphone, :ipad, :googleplay ], url: [ :iphone, :ipad, :googleplay ] ] ] ]
- OPEN_GRAPH =
[ og: [ :title, :site_name, :url, :description, :image, :type ], article: [ :author, :publisher ] ]
- FACEBOOK =
[ fb: [ :app_id, :admin ] ]
Class Method Summary collapse
Class Method Details
.all ⇒ Object
73 74 75 |
# File 'lib/acts_as_shareable_object/active_record/acts/shareable_object/default_properties.rb', line 73 def self.all TWITTER | OPEN_GRAPH | FACEBOOK end |