Class: JustGiving::Team

Inherits:
Client
  • Object
show all
Defined in:
lib/justgiving/team.rb

Instance Method Summary collapse

Methods inherited from Client

#initialize

Constructor Details

This class inherits a constructor from JustGiving::Client

Instance Method Details

#check_if_team_exists_by_name(name) ⇒ Object



10
11
12
# File 'lib/justgiving/team.rb', line 10

def check_if_team_exists_by_name(name)
  head("team/#{name}")
end

#get_team_by_name(name) ⇒ Object



6
7
8
# File 'lib/justgiving/team.rb', line 6

def get_team_by_name(name)
  get("team/#{name}")
end