Sha256: a50967186959dfea10aff3dc2f7983ce2d1d49b413880be3ac69b6980df4d8c4
Contents?: true
Size: 912 Bytes
Versions: 12
Compression:
Stored size: 912 Bytes
Contents
# encoding: utf-8 module Github class Activity < API extend AutoloadHelper autoload_all 'github_api/activity', :Events => 'events', :Notifications => 'notifications', :Starring => 'starring', :Watching => 'watching' # Create new Activity API def initialize(options = {}) super(options) end # Access to Activity::Events API def events(options = {}) @events ||= ApiFactory.new 'Activity::Events', options end # Access to Activity::Notifications API def notifications @notifications ||= ApiFactory.new 'Activity::Notifications' end # Access to Activity::Starring API def starring @starring ||= ApiFactory.new 'Activity::Starring' end # Access to Activity::Watching API def watching @watching ||= ApiFactory.new 'Activity::Watching' end end # Activity end # Github
Version data entries
12 entries across 12 versions & 1 rubygems