Class: ShareProgress::FacebookVariant

Inherits:
Variant
  • Object
show all
Defined in:
lib/share_progress/facebook_variant.rb

Instance Attribute Summary

Attributes inherited from Variant

#_destroy, #button, #errors, #id

Class Method Summary collapse

Methods inherited from Variant

#all_fields, #analytics, #destroy, #initialize, #save, #serialize, #set_analytics, #to_s, #type, #update_attributes

Constructor Details

This class inherits a constructor from ShareProgress::Variant

Class Method Details

.fieldsObject



11
12
13
# File 'lib/share_progress/facebook_variant.rb', line 11

def self.fields
  [:facebook_title, :facebook_description, :facebook_thumbnail]
end

.typeObject



7
8
9
# File 'lib/share_progress/facebook_variant.rb', line 7

def self.type
  'facebook'
end