Sha256: bdb010f89455eda58b8c27b810153d7922c2070abc9dda72ab4f5713ddbea27a

Contents?: true

Size: 392 Bytes

Versions: 3

Compression:

Stored size: 392 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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sharing_tags-0.0.12 lib/sharing_tags/network/facebook.rb
sharing_tags-0.0.11 lib/sharing_tags/network/facebook.rb
sharing_tags-0.0.10 lib/sharing_tags/network/facebook.rb