Class: VacationRentalsIcalAdapters::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/vacation_rentals_ical_adapters/parser.rb

Class Method Summary collapse

Class Method Details

.to_ical(body, source:) ⇒ Object



4
5
6
7
8
# File 'lib/vacation_rentals_ical_adapters/parser.rb', line 4

def self.to_ical(body, source:)
  VacationRentalsIcalAdapters::Adapters
    .adapter_for(body: body, source: source)
    .to_ical(body)
end