{"id":15586345,"url":"https://github.com/brandaoplaster/paypix","last_synced_at":"2025-03-29T09:16:12.612Z","repository":{"id":100334768,"uuid":"599294464","full_name":"brandaoplaster/paypix","owner":"brandaoplaster","description":"A very simple one that makes external api calls to create a pix.","archived":false,"fork":false,"pushed_at":"2023-02-13T01:45:21.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-03T23:48:30.998Z","etag":null,"topics":["gem","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brandaoplaster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2023-02-08T21:03:03.000Z","updated_at":"2023-02-11T15:44:38.000Z","dependencies_parsed_at":"2023-06-19T05:35:06.758Z","dependency_job_id":null,"html_url":"https://github.com/brandaoplaster/paypix","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"bb7eaa25934357daa7fc213f9d5002919f1a0e19"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandaoplaster%2Fpaypix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandaoplaster%2Fpaypix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandaoplaster%2Fpaypix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandaoplaster%2Fpaypix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandaoplaster","download_url":"https://codeload.github.com/brandaoplaster/paypix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246162147,"owners_count":20733357,"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":["gem","ruby"],"created_at":"2024-10-02T21:21:58.046Z","updated_at":"2025-03-29T09:16:12.579Z","avatar_url":"https://github.com/brandaoplaster.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paypix\n\nA simple gem for pix creation\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n    $ bundle add paypix\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n    $ gem install paypix\n\n## Usage\n\n - Copy **env-example** file to **.env** and inform the token\n```\ncp env-example .env\n\nsource .env\n```\n\n - An example hash that can be used for testing.\n - An attention to the **pix_account_id** that has to be created on the platform\n\n```\ndata = {\n  :payer =\u003e {\n    :document_number =\u003e \"682.571.466-09\",\n    :name =\u003e \"Luna\"\n  },\n  :additional_info =\u003e {\n    :last_name =\u003e \"Carl\"\n  },\n  :charge =\u003e {\n    :amount  =\u003e 10.50,\n    :pix_account_id =\u003e 90,\n    :expire_at =\u003e \"2023-12-02T10:03:56-03:00\",\n    :message =\u003e \"Hello word\"\n  }\n}\n```\n\n\n```ruby\npix = Paypix::Pix.new         # instance a class\npix.create(data)              # Calls the create method which receives a hash\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/brandaoplaster/paypix.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandaoplaster%2Fpaypix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandaoplaster%2Fpaypix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandaoplaster%2Fpaypix/lists"}