Module: EndOfLife::API

Extended by:
API
Included in:
API
Defined in:
lib/end_of_life/api.rb

Constant Summary collapse

BASE_URL =
"https://endoflife.date/api/v1/"

Instance Method Summary collapse

Instance Method Details

#fetch_product(product) ⇒ Object



7
# File 'lib/end_of_life/api.rb', line 7

def fetch_product(product) = get("products/#{product}")