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