{"id":28509130,"url":"https://github.com/atomicobject/to_api","last_synced_at":"2025-07-02T23:31:39.854Z","repository":{"id":62559164,"uuid":"1156552","full_name":"atomicobject/to_api","owner":"atomicobject","description":"Instead of to_xml and as_json, simply implement to_api. Return an unformatted hash. Let the model understand the data. Let the controller understand the format. In Rails, the controller can simply call render :xml =\u003e model.to_api or render :json =\u003e model.to_api.","archived":false,"fork":false,"pushed_at":"2017-01-20T18:49:26.000Z","size":31,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-06-08T22:08:05.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/atomicobject.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}},"created_at":"2010-12-10T16:30:07.000Z","updated_at":"2024-11-28T16:28:23.000Z","dependencies_parsed_at":"2022-11-03T11:15:25.090Z","dependency_job_id":null,"html_url":"https://github.com/atomicobject/to_api","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/atomicobject/to_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicobject%2Fto_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicobject%2Fto_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicobject%2Fto_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicobject%2Fto_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomicobject","download_url":"https://codeload.github.com/atomicobject/to_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicobject%2Fto_api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263232619,"owners_count":23434709,"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","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":"2025-06-08T22:07:29.953Z","updated_at":"2025-07-02T23:31:34.829Z","avatar_url":"https://github.com/atomicobject.png","language":"Ruby","readme":null,"funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomicobject%2Fto_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomicobject%2Fto_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomicobject%2Fto_api/lists"}