Class: BrownPaperTickets::Xmlparse
- Inherits:
-
HTTParty::Parser
- Object
- HTTParty::Parser
- BrownPaperTickets::Xmlparse
- Defined in:
- lib/brownpapertickets/xmlparse.rb
Instance Method Summary collapse
-
#initialize(body, format) ⇒ Xmlparse
constructor
A new instance of Xmlparse.
- #parse ⇒ Object
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
#parse ⇒ Object
9 10 11 |
# File 'lib/brownpapertickets/xmlparse.rb', line 9 def parse perform_parsing end |