class Tinybucket::Resource::Team::Base

Public Class Methods

new(team_name, options) click to toggle source
# File lib/tinybucket/resource/team/base.rb, line 7
def initialize(team_name, options)
  @team_name = team_name
  @args = [options]
end

Protected Instance Methods

create_team_enumerator(method) click to toggle source
# File lib/tinybucket/resource/team/base.rb, line 18
def create_team_enumerator(method)
  create_enumerator(team_api, method, @team_name, *@args)
end
team_api() click to toggle source
# File lib/tinybucket/resource/team/base.rb, line 14
def team_api
  create_api('Team')
end