Sha256: 7ee19631980b031c4e1b77b4e87d7930f5a46c84cdf2a82012f8e287ad271cb8
Contents?: true
Size: 632 Bytes
Versions: 5
Compression:
Stored size: 632 Bytes
Contents
module SharingTags class Network class Facebook < Network def self.available_attributes super + %i( app_id caption provider return_url) end def provider(provider = 'auto', &block) attributes[:provider] = store_value(provider, &block) end def app_id(app_id = nil, &block) attributes[:app_id] = store_value(app_id, &block) end def return_url(url = nil, &block) attributes[:return_url] = store_value(url, &block) end def caption(message = nil, &block) attributes[:caption] = store_value(message, &block) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems