Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
require "csv"
require "resque_scheduler"

module JApiAgent::TwitterCollection
  module Base

    USER_PROFILE_MAPPING = {
      :channel => "channel",
      :id => "id",
      :profile_image_url => "profile_image_url",
      :personal_site_url => "url",
      :created_at => "created_at",
      :followers_count => "followers_count",
      :default_profile => "default_profile",
      :lang =>  "lang",
      :utc_offset => "utc_offset",
      :name => "name",
      :location => "location",
      :listed_count => "listed_count",
      :verified => "verified",
      :protected => "protected",
      :is_translator => "is_translator",
      :following => "following",
      :description => "description",
      :profile_text_color => "profile_text_color",
      :statuses_count => "statuses_count",
      :screen_name => "screen_name",
      :profile_image_url_https => "profile_image_url_https",
      :time_zone => "time_zone",
      :friends_count => "friends_count",
      :contributors_enabled => "contributors_enabled",
      :id_str => "id_str",
      :geo_enabled => "geo_enabled",
      :favourites_count => "favourites_count",
      :profile_background_tile => "profile_background_tile" ,
      :notifications => "notifications",
      :show_all_inline_media => "show_all_inline_media",
      :profile_sidebar_fill_color => "profile_sidebar_fill_color",
      :follow_request_sent => "follow_request_sent"
    }
    USER_PROFILE_MAPPING_KEYS = USER_PROFILE_MAPPING.keys.sort
    USER_PROFILE_LOOK_AND_FEEL_MAPPING = {
      :channel => "twitter",
      :id => "id",
      :profile_background_image_url => "profile_background_image_url",
      :profile_link_color =>  "profile_link_color",
      :profile_use_background_image => "profile_use_background_image",
      :profile_background_image_url_https => "profile_background_image_url_https",
      :default_profile_image => "default_profile_image",
      :profile_sidebar_border_color => "profile_sidebar_border_color"
    }

    USER_PROFILE_STATUS = {
      :channel => "twitter",
      :user_id => "id",
      :screen_name => "screen_name",
      :retweeted => "retweeted",
      :in_reply_to_screen_name => "in_reply_to_screen_name",
      :possibly_sensitive => "possibly_sensitive",
      :contributors => "contributors",
      :contributors => "coordinates",
      :place => "place",
      :retweet_count => "retweet_count",
      :id_str => "id_str",
      :in_reply_to_user_id => "in_reply_to_user_id",
      :favorited => "favorited",
      :in_reply_to_status_id_str => "in_reply_to_status_id_str",
      :in_reply_to_status_id =>  "in_reply_to_status_id",
      :source => "source",
      :created_at => "created_at",
      :in_reply_to_user_id_str => "in_reply_to_user_id_str",
      :truncated => "truncated",
      :id => "id",
      :geo => "geo",
      :text => "text"
    }
    USER_CONNECTIONS_KEYS = [:channel, :user_id, :connection_type, :connection_id ]
  end
end