Class: Sofa::TVRage::Schedule
- Inherits:
-
Object
- Object
- Sofa::TVRage::Schedule
- Includes:
- HTTParty
- Defined in:
- lib/sofa/tvrage/schedule.rb
Overview
This class will hold the full/quick schedule information as per the TVRage API.
Class Method Summary collapse
-
.full(country) ⇒ Hash
Gets the full schedule for country.
Class Method Details
.full(country) ⇒ Hash
Gets the full schedule for country
18 19 20 21 |
# File 'lib/sofa/tvrage/schedule.rb', line 18
def full(country)
xml = get("/fullschedule.php", :query => {:country => country})
xml["schedule"]
end
|