{"id":29423189,"url":"https://github.com/0x2c6/azn-converter","last_synced_at":"2025-07-12T07:02:01.370Z","repository":{"id":62553885,"uuid":"145310308","full_name":"0x2C6/azn-converter","owner":"0x2C6","description":"Convert any number to current or spesific currency","archived":false,"fork":false,"pushed_at":"2018-08-19T15:52:42.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-12T07:01:50.730Z","etag":null,"topics":["azn","azn-converter","gem","manat","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/azn_converter","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/0x2C6.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}},"created_at":"2018-08-19T14:29:07.000Z","updated_at":"2018-08-19T15:55:13.000Z","dependencies_parsed_at":"2022-11-03T05:00:19.342Z","dependency_job_id":null,"html_url":"https://github.com/0x2C6/azn-converter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/0x2C6/azn-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2C6%2Fazn-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2C6%2Fazn-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2C6%2Fazn-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2C6%2Fazn-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x2C6","download_url":"https://codeload.github.com/0x2C6/azn-converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2C6%2Fazn-converter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264951978,"owners_count":23687993,"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":["azn","azn-converter","gem","manat","ruby"],"created_at":"2025-07-12T07:01:12.594Z","updated_at":"2025-07-12T07:02:01.359Z","avatar_url":"https://github.com/0x2C6.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AZNConverter [![Gem Version](https://badge.fury.io/rb/azn_converter.svg)](https://badge.fury.io/rb/azn_converter) [![Build Status](https://travis-ci.org/0x2C6/azn-converter.svg?branch=master)](https://travis-ci.org/0x2C6/azn-converter)\n\nEasy to use AZN converter.\nYou can convert any currency to AZN and its word form.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'azn_converter'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install azn_converter\n\n## Usage\n\nAt below you see basic usage. By default it converts from USD\n\n```ruby\n  require 'azn_converter'\n\n  5.to_azn #=\u003e 8.5 with current currency\n```\n\nYou can specify currency yourself if you doesn't have internet connection\n\n```ruby\n  5.to_azn(current: 0.78) #=\u003e 3.900...\n```\n\nBy default we use to convert USD. It can be change by `:from` parameter\n\n```ruby\n  5.to_azn(from: :eur) #=\u003e 9.68\n```\n\nUse `:sign` to add manat symbol to end of the returned value\n\n```ruby\n  5.to_azn(sign: true) #=\u003e \"8.5 ₼\"\n```\n\nYou can get word for of the conversion with `:words` option\n\n```ruby\n  5.to_azn(words: true) #=\u003e \"səkkiz manat əlli qəpik\"\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/0x2C6/azn-converter.\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%2F0x2c6%2Fazn-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x2c6%2Fazn-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x2c6%2Fazn-converter/lists"}