Class: ShareProgress::TwitterVariant

Inherits:
Variant
  • Object
show all
Defined in:
lib/share_progress/twitter_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/twitter_variant.rb', line 11

def self.fields
  [:twitter_message]
end

.typeObject



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

def self.type
  'twitter'
end