Sha256: 2a7a6b1f3abfeaa5331ff07da36ce7e83b051b5741c80b59951f3460af3fb222

Contents?: true

Size: 1 KB

Versions: 7

Compression:

Stored size: 1 KB

Contents

# monban-core

[rubygems: monban-core](https://rubygems.org/gems/monban-core)

[Monban](https://github.com/getto-systems/rubygems-monban-core) - core

The authentication plugin for web api based on jwt


###### Table of Contents

- [Requirements](#Requirements)
- [Usage](#Usage)
- [License](#License)

<a id="Requirements"></a>
## Requirements

- developed on ruby: 2.5.1


<a id="Usage"></a>
## Usage

### Errors

`error` class should be respond to below methods

```ruby
module Monban
  module Core
    ERRORS = [
      :invalid_account!,
      :invalid_login!,
      :invalid_params!,
      :not_found!,
      :renew_token_expired!,
      :conflict!,
      :server_error!,
    ]
  end
end
```

## Install

Add this line to your application's Gemfile:

```ruby
gem 'monban-core'
```

And then execute:

```
$ bundle
```

Or install it yourself as:

```
$ gem install monban-core
```


<a id="License"></a>
## License

monban/core is licensed under the [MIT](LICENSE) license.

Copyright &copy; since 2018 shun@getto.systems

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
monban-core-1.2.4 README.md
monban-core-1.2.3 README.md
monban-core-1.2.2 README.md
monban-core-1.1.0 README.md
monban-core-1.0.3 README.md
monban-core-1.0.2 README.md
monban-core-1.0.0 README.md