Sha256: 97e0ccd16a3a770d382f9031b41262aa2fbb1fe0fed57807ff4bc5c442c6393a

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

module SharingTags
  class Network
    class Facebook < Network
      def self.available_attributes
        super + %i( app_id provider )
      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 caption(message = nil, &block)
        attributes[:caption] = store_value(message, &block)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sharing_tags-0.0.13 lib/sharing_tags/network/facebook.rb