{"id":23705852,"url":"https://github.com/fidme/jobs","last_synced_at":"2025-10-16T10:26:14.692Z","repository":{"id":96292883,"uuid":"136636113","full_name":"FidMe/jobs","owner":"FidMe","description":"Just a small challenge for our recruitment process","archived":false,"fork":false,"pushed_at":"2018-06-11T11:32:56.000Z","size":2,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-30T02:32:03.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FidMe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-06-08T15:26:08.000Z","updated_at":"2019-07-20T16:16:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"df3d16ea-7a5d-4e4c-8d71-df5c0fef19ba","html_url":"https://github.com/FidMe/jobs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FidMe/jobs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FidMe%2Fjobs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FidMe%2Fjobs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FidMe%2Fjobs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FidMe%2Fjobs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FidMe","download_url":"https://codeload.github.com/FidMe/jobs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FidMe%2Fjobs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279178247,"owners_count":26120152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-30T14:58:31.570Z","updated_at":"2025-10-16T10:26:14.686Z","avatar_url":"https://github.com/FidMe.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FidMe Ruby challenge\n\nThis small exercice is just meant to challenge new FidMe appliants.\n\n### Get started !\n\n- Clone this repo (do **not** fork it)\n- Install ruby if you haven't (any version will do fine)\n- Run `ruby main.rb --loyalty_card_id=1 --user_id=5`\n\n### The challenge\n\nWe are building a **wallet app**. Let's call it FidMe !\n\nOur wallet app is made of a few identities: \nFor now we have users and loyalty cards.\n\nUsers can own loyalty cards.\nUsers can gain rewards (points) for a given card.\n\nWe already have a few data at our diposal (see `input.json`) and a main program (see `main.rb`)\n\nThe problem is... the command `ruby main.rb --loyalty_card_id=1 --user_id=5` always returns the same value !! \n\nWrite code that reproduces the output of the command, but is actually working with `input.json` data.\n\n### What we expect from you\n\n- Take your time :)\n- Produce what your consider to be clean code. \n- Use object oriented programming\n- Do not try to overthink it\n- Use any library or tool that you want (except Rails ;) ). \n- You can create files and folders if you want\n- You can (and we would love if you do) write test (but it is ok if you are not confident with it).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffidme%2Fjobs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffidme%2Fjobs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffidme%2Fjobs/lists"}