Module: Upcoming::Defaults

Included in:
Auth, Category, Country, Event, Group, Metro, State, User, Venue, Watchlist
Defined in:
lib/upcoming.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



12
13
14
15
16
# File 'lib/upcoming.rb', line 12

def self.included(base)
  base.send :include, HTTParty
  base.send(:base_uri, 'upcoming.yahooapis.com/services/rest')
  base.send(:format, :json)
end