Class: Wuclan::Twitter::Model::AFavoritesB

Inherits:
Object
  • Object
show all
Includes:
ModelCommon, RelationshipBase
Defined in:
lib/wuclan/twitter/model/relationship.rb

Overview

User ==favorites_tweet=> tweet ==by_user=>b

Instance Method Summary collapse

Methods included from RelationshipBase

#in_reply_to_status_id, included, #status_id

Methods included from ModelCommon

#days_since_created, flatten_date, #key, #scrape_age, unbooleanize, zeropad_id

Instance Method Details

#num_key_fieldsObject

Key on user_a-user_b-tweet_id (really just user_a-tweet_id is enough)



44
# File 'lib/wuclan/twitter/model/relationship.rb', line 44

def num_key_fields()  3 end

#numeric_id_fieldsObject



45
# File 'lib/wuclan/twitter/model/relationship.rb', line 45

def numeric_id_fields()     [:user_a_id, :user_b_id, :tweet_id] ; end