Module: CBSSports

Defined in:
lib/cbs_sports.rb,
lib/cbs_sports/client.rb,
lib/cbs_sports/version.rb,
lib/cbs_sports/client/players.rb

Defined Under Namespace

Classes: Client

Constant Summary collapse

VERSION =
"0.1.3"

Class Method Summary collapse

Class Method Details

.client(response_format: :json, sport:) ⇒ CBSSports::Client

Alias for CBSSports::Client.new

Returns:



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

def client(response_format: :json, sport:)
  CBSSports::Client.new(response_format: response_format, sport: sport)
end