Class: BrownPaperTickets::Xmlparse

Inherits:
HTTParty::Parser
  • Object
show all
Defined in:
lib/brownpapertickets/xmlparse.rb

Instance Method Summary collapse

Constructor Details

#initialize(body, format) ⇒ Xmlparse

Returns a new instance of Xmlparse.



4
5
6
7
# File 'lib/brownpapertickets/xmlparse.rb', line 4

def initialize(body, format)
  @body = body
  @format = format
end

Instance Method Details

#parseObject



9
10
11
# File 'lib/brownpapertickets/xmlparse.rb', line 9

def parse
  perform_parsing
end