Sha256: bed9366c42e8022824051b8353a8d22b0b095e04b7f5b20444b51c882d857d30

Contents?: true

Size: 295 Bytes

Versions: 10

Compression:

Stored size: 295 Bytes

Contents

require 'social_parser/version'

Dir[File.join(File.dirname(__FILE__), 'social_parser', 'provider', '*.rb')].each { |file| require file }

module SocialParser

  def self.parse(attrs)
    if attrs.is_a? String
      parse(url: attrs)
    else
      Provider::Base.parse(attrs)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
social_parser-1.1.0 lib/social_parser.rb
social_parser-1.0.8 lib/social_parser.rb
social_parser-1.0.7 lib/social_parser.rb
social_parser-1.0.6 lib/social_parser.rb
social_parser-1.0.5 lib/social_parser.rb
social_parser-1.0.4 lib/social_parser.rb
social_parser-1.0.3 lib/social_parser.rb
social_parser-1.0.2 lib/social_parser.rb
social_parser-1.0.1 lib/social_parser.rb
social_parser-1.0.0 lib/social_parser.rb