Module: SocialMiner
- Defined in:
- lib/social_miner.rb,
lib/social_miner/version.rb,
lib/social_miner/helpers/hash.rb,
lib/social_miner/instagram/base.rb,
lib/social_miner/instagram/post_mapper.rb,
lib/social_miner/instagram/profile_info.rb,
lib/social_miner/instagram/post_comments.rb,
lib/social_miner/instagram/profile_posts.rb,
lib/social_miner/instagram/comment_mapper.rb,
lib/social_miner/instagram/profile_mapper.rb
Defined Under Namespace
Modules: Helpers, Instagram
Constant Summary
collapse
- DEFAULT_MAPPERS =
{
Instagram::ProfileInfo => Instagram::ProfileMapper,
Instagram::ProfilePosts => Instagram::PostMapper,
Instagram:: => Instagram::
}.freeze
- VERSION =
"0.1.1"
Class Method Summary
collapse
Class Method Details
.mapper_for_klass(key) ⇒ Object
22
23
24
|
# File 'lib/social_miner.rb', line 22
def mapper_for_klass(key)
DEFAULT_MAPPERS.fetch(key)
end
|