Module: BombDefuser::Resource

Included in:
Company, Game, Genre, Platform, Theme
Defined in:
lib/bomb_defuser/resource.rb

Instance Method Summary collapse

Instance Method Details

#details(resource_id) ⇒ Object



4
5
6
7
# File 'lib/bomb_defuser/resource.rb', line 4

def details(resource_id)
  request = Request.new("#{resource}/#{resource_id}")
  request.get
end