Make taks endpoint dynamic
This commit is contained in:
parent
ac4bef2cac
commit
d6d881190a
|
@ -1,7 +1,7 @@
|
||||||
class Talk < ActiveResource::Base
|
class Talk < ActiveResource::Base
|
||||||
has_many :selections, class_name: 'SelectedTalk'
|
has_many :selections, class_name: 'SelectedTalk'
|
||||||
|
|
||||||
self.site = 'https://cfp.openfest.org/api/conferences/11'
|
self.site = ENV['GAUGE_TALKS_ENDPOINT'] || 'https://cfp.openfest.org/api/conferences/1'
|
||||||
self.element_name = 'event'
|
self.element_name = 'event'
|
||||||
|
|
||||||
def self.ordered_by_id
|
def self.ordered_by_id
|
||||||
|
|
Loading…
Reference in New Issue