lib/ragoon/services/schedule.rb in ragoon-0.5.2 vs lib/ragoon/services/schedule.rb in ragoon-0.6.0
- old
+ new
@@ -104,10 +104,10 @@
allday: event[:allday] == 'true',
}
end
def event_url(id)
- "#{Ragoon::garoon_endpoint.gsub(/\?.*\Z/, '')}/schedule/view?event=#{id}"
+ "#{base_endpoint}/schedule/view?event=#{id}"
end
def facility_names(event)
event.xpath('ev:members', ev: "http://schemas.cybozu.co.jp/schedule/2008").
children.map { |c| c.xpath('ev:facility', ev: "http://schemas.cybozu.co.jp/schedule/2008").first }.