Module: ForwardCalendar

Defined in:
lib/forward_calendar.rb,
lib/forward_calendar/node.rb,
lib/forward_calendar/event.rb,
lib/forward_calendar/broker.rb,
lib/forward_calendar/person.rb,
lib/forward_calendar/sector.rb,
lib/forward_calendar/address.rb,
lib/forward_calendar/company.rb,
lib/forward_calendar/updated.rb,
lib/forward_calendar/location.rb,
lib/forward_calendar/identifier.rb,
lib/forward_calendar/participant.rb,
lib/forward_calendar/meeting_type.rb,
lib/forward_calendar/location_time.rb,
lib/forward_calendar/product_group.rb,
lib/forward_calendar/forward_calendar.rb,
lib/forward_calendar/entitlement_group.rb,
lib/forward_calendar/location_end_time.rb,
lib/forward_calendar/helper/time_as_utc.rb,
lib/forward_calendar/location_start_time.rb,
lib/forward_calendar/helper/normalized_string.rb

Defined Under Namespace

Modules: Helper Classes: Address, Broker, Company, EntitlementGroup, Event, ForwardCalendar, Identifier, Location, LocationEndTime, LocationStartTime, LocationTime, MeetingType, Node, Participant, Person, ProductGroup, Sector, Updated

Class Method Summary collapse

Class Method Details

.parser(file_content) ⇒ Object



6
7
8
# File 'lib/forward_calendar.rb', line 6

def self.parser(file_content)
  ForwardCalendar.new(file_content)
end

.parser_from_file(file_path) ⇒ Object



10
11
12
13
# File 'lib/forward_calendar.rb', line 10

def self.parser_from_file(file_path)
  xml = File.open(file_path)
  parser(xml)
end