class Gitomator::GitHub::Model::Team

Public Class Methods

new(gh_team) click to toggle source

@param gh_team [Sawyer::Resource]

# File lib/gitomator/github/model/team.rb, line 10
def initialize(gh_team)
  @r = gh_team
end

Public Instance Methods

id() click to toggle source
# File lib/gitomator/github/model/team.rb, line 14
def id
  @r.id
end
name() click to toggle source
# File lib/gitomator/github/model/team.rb, line 18
def name
  @r.name
end