class OpenStates::Mashify

Public Instance Methods

on_complete(env) click to toggle source
Calls superclass method
# File lib/openstates/mashify.rb, line 5
def on_complete(env)
  super if env[:body].is_a? Hash
end
parse(body) click to toggle source
# File lib/openstates/mashify.rb, line 9
def parse(body)
  Hashie::Mash.new(body)
end