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

included

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-status_id (really just user_a-status_id is enough)



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

def num_key_fields()  3 end

#numeric_id_fieldsObject



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

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