Module: SocialStream::Models::Subtype::ClassMethods

Defined in:
lib/social_stream/models/subtype.rb

Instance Method Summary collapse

Instance Method Details

#supertype_foreign_keyObject



46
47
48
# File 'lib/social_stream/models/subtype.rb', line 46

def supertype_foreign_key
  "#{ supertype_name }_id" # "actor_id"
end

#supertype_symObject



42
43
44
# File 'lib/social_stream/models/subtype.rb', line 42

def supertype_sym
  supertype_name.to_sym
end