mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00

* Better method to turn options hash into a k/v list * run_job_flow and add_instance_groups added as methods on EMR * Ability to fire Hive job added
22 lines
378 B
Ruby
22 lines
378 B
Ruby
module Fog
|
|
module Parsers
|
|
module AWS
|
|
module EMR
|
|
|
|
class RunJobFlow < Fog::Parsers::Base
|
|
|
|
def start_element(name, attrs = [])
|
|
super
|
|
end
|
|
|
|
def end_element(name)
|
|
case name
|
|
when 'JobFlowId'
|
|
@response[name] = value
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|