Sha256: 3ba0dd70fe4bbd9882b0168e987eb1221cc69dcab7af3f89f71445e42826485e

Contents?: true

Size: 247 Bytes

Versions: 3

Compression:

Stored size: 247 Bytes

Contents

require 'share_progress'
require 'share_progress/variant'

module ShareProgress
  class TwitterVariant < Variant

    def self.type
      'twitter'
    end

    def self.fields
      [:twitter_message]
    end

    attr_accessor *fields
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
share_progress-0.1.2 lib/share_progress/twitter_variant.rb
share_progress-0.1.1 lib/share_progress/twitter_variant.rb
share_progress-0.1.0 lib/share_progress/twitter_variant.rb