Class: OnTheSnow::API
- Inherits:
-
Object
show all
- Includes:
- Helper
- Defined in:
- lib/onthesnow/api.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Helper
#build_profile_url_from_snow_resort_url, #profile, #remove_chars, #rss, #rss_url, #site_map_rss_url, #sitemap, #url
Class Method Details
.instance ⇒ Object
6
7
8
|
# File 'lib/onthesnow/api.rb', line 6
def self.instance
@@instance ||= new
end
|
Instance Method Details
#regions ⇒ Object
10
11
12
|
# File 'lib/onthesnow/api.rb', line 10
def regions
OnTheSnow::Region::Region.all
end
|
#resorts ⇒ Object
18
19
20
|
# File 'lib/onthesnow/api.rb', line 18
def resorts
OnTheSnow::Resort::Resort.all
end
|
#states ⇒ Object
14
15
16
|
# File 'lib/onthesnow/api.rb', line 14
def states
OnTheSnow::State::State.all
end
|