https://github.com/Salesap/yandex_kassa
Simple API wrapper for YandexKassa API v3
https://github.com/Salesap/yandex_kassa
gem rails ruby yandex-kassa
Last synced: 4 months ago
JSON representation
Simple API wrapper for YandexKassa API v3
- Host: GitHub
- URL: https://github.com/Salesap/yandex_kassa
- Owner: Salesap
- License: mit
- Created: 2018-11-27T11:26:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T08:58:21.000Z (almost 3 years ago)
- Last Synced: 2024-10-31T10:37:51.550Z (7 months ago)
- Topics: gem, rails, ruby, yandex-kassa
- Language: Ruby
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# YandexKassa
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/yandex_kassa`. To experiment with that code, run `bin/console` for an interactive prompt.
TODO: Delete this and the text above, and describe your gem
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'yandex_kassa'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install yandex_kassa
## Usage
Create config/initializers/yandex_kassa.rb
```ruby
YandexKassa::Settings.configure do |config|
config.shop_id = 'your shop id'
config.api_key = 'your api key'
end
```TODO: Write usage instructions here
## Development
After 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.
To 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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/yandex_kassa.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).