class Sobiratel

Public Class Methods

get_all(urls) click to toggle source
# File lib/sobiratel.rb, line 36
def get_all(urls)
  return "At work"
end
get_email(urls) click to toggle source
# File lib/sobiratel.rb, line 8
def get_email(urls)
  result = []

  urls.each do |url|
    email = eat(url).match(/([a-z0-9_-]+\.)*[a-z0-9_-]+@[a-z0-9_-]+(\.[a-z0-9_-]+)*\.[a-z]{2,6}/)

     result << email.to_s if email
  end

  return result
end
get_instagram(urls) click to toggle source
# File lib/sobiratel.rb, line 20
def get_instagram(urls)
  return "At work"
end
get_phones(urls) click to toggle source
# File lib/sobiratel.rb, line 28
def get_phones(urls)
  return "At work"
end
get_seo_params(urls) click to toggle source
# File lib/sobiratel.rb, line 32
def get_seo_params(urls)
  return "At work"
end
get_twitter(urls) click to toggle source
# File lib/sobiratel.rb, line 24
def get_twitter(urls)
  return "At work"
end