This gem was made to connect to the Bumeran api found in https://developers.bumeran.com
Bumeran works with Rails 3.2 onwards. You can add it to your Gemfile with:
gem 'bumeran'
...or can fetch the latest developer version with:
gem 'bumeran', :git => '[email protected]:rfernand/bumeran.git', :branch => 'develop'
After you finished the gem installation, you need to configure it with your Bumeran user information. You can do it filling a file like config/initializers/bumeran.rb with:
Bumeran.setup do |config|
config.grant_type = "password" # Default value
config.client_id = "" # Bumeran client id
config.username = "" # Bumeran client username
config.email = "" # Bumeran client email
config.password = "" # Bumeran client password
config.environment "production" # You can choose between production or development
end
And more that don't need an ID. All return a json object, and raise an error (401, 404, 500) if there was one:
publication = Bumeran::Publication.new
pais_id = 1 # 1 = Argentina
plan_publication_id = 30 # 30 = simple
Bumeran.publish(publication.body.to_json, pais_id, plan_publication_id)
Bumeran.get_publication(publication_id)
Bumeran.get_postulations_in_publication(publication_id)
Bumeran.destroy_publication(publication_id)
Bumeran.discard_postulation(publication_id)
They receive a corresponding object id and return a json object.
Bumeran.get_estudio(estudio_id)
Bumeran.get_conocimiento(conocimiento_id)
Bumeran.get_conocimiento_custom(conocimiento_custom_id)
Bumeran.get_experiencia_laboral(experiencia_laboral_id)
Bumeran.get_postulacion(postulacion_id)
Bumeran.get_curriculum(curriculum_id)
Bumeran.get_subareas_in(area_id)
Bumeran.get_zonas_in(pais_id)
Bumeran.get_localidades_id(pais_id)
Bumeran.get_plan_publicaciones_in(pais_id)
All return a json object. After the first query, the returned json is cached in the Bumeran module.
Bumeran.areas
Bumeran.subareas
Bumeran.frecuencias_pago
Bumeran.paises
Bumeran.denominaciones
Bumeran.direcciones
Bumeran.frecuencias_pago
Bumeran.idiomas
Bumeran.industrias
Bumeran.niveles_idiomas
Bumeran.tipos_trabajo
Bumeran.areas_estudio
Bumeran.estados_estudio
Bumeran.tipos_estudio
- Add the missing methods of the postulaciones service