Class: PunkyBrewster::BeerRepository

Inherits:
Object
  • Object
show all
Defined in:
lib/punky_brewster/beer_repository.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.list(*args) ⇒ Object



7
8
9
# File 'lib/punky_brewster/beer_repository.rb', line 7

def self.list(*args)
  self.new(*args).list
end

Instance Method Details

#listObject



3
4
5
# File 'lib/punky_brewster/beer_repository.rb', line 3

def list
  BeerListRequest.new.beers
end