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