Skip to content

Instantly share code, notes, and snippets.

View leoiamele's full-sized avatar

Leandro Iamele leoiamele

  • Le Wagon
  • Buenos Aires, Argentina
View GitHub Profile
@leoiamele
leoiamele / RANDOM.md
Created May 21, 2021 15:02
Ahora a codear...
@leoiamele
leoiamele / SETUP_DAY.md
Created May 21, 2021 15:01
Starting my coding journey...
@leoiamele
leoiamele / SECOND_TEST.md
Created May 20, 2021 10:22
Starting my coding journey...
#Servicio de Perfit
class PerfitService
def initialize
perfit = Webhook.perfit_email.first
@basic_end_point = "https://api.myperfit.com/v2"
@api_key = perfit.app_secret
@perfit_account = perfit.app_name
end
def create_suscriber(user)
$(document).ready(function(){
console.log('LOAD AUTO')
$input = $("#search_head");
var options = {
getValue: "title",
url: function(phrase){
return "/search?q=" + phrase;
},
categories: [