class Apis::Lottery

Class to fetch lottery

Public Instance Methods

eurojackpot() click to toggle source

Get the most recent numbers for the Eurojackpot.

@return [Faraday::Response] Api result.

# File lib/apis/endpoints/lottery.rb, line 23
def eurojackpot
  Apis.client.get('/lottery/eurojackpot')
end
lotto() click to toggle source

Get the most recent numbers for the icelandic lottery.

@return [Faraday::Response] Api result.

# File lib/apis/endpoints/lottery.rb, line 9
def lotto
  Apis.client.get('/lottery')
end
vikingalotto() click to toggle source

Get the most recent numbers for the Vikingalotto.

@return [Faraday::Response] Api result.

# File lib/apis/endpoints/lottery.rb, line 16
def vikingalotto
  Apis.client.get('/lottery/vikingalotto')
end