Skip to content

nyaahara/delivery_state_jp

Repository files navigation

DeliveryStateJp

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/delivery_state_jp. To experiment with that code, run bin/console for an interactive prompt.

Installation

Add this line to your application's Gemfile:

gem 'delivery_state_jp'

And then execute:

$ bundle

Or install it yourself as:

$ gem install delivery_state_jp

Usage

require 'delivery_state_jp'
=> true

DeliveryStateJp::Yamato.delivery_state(number: 'xxxx-xxxx-xxxx-xxxx')
=> "配達完了"

DeliveryStateJp::Sagawa.delivery_state(number: 'xxxx-xxxx-xxxx-xxxx')
=> "⇒配達完了"

DeliveryStateJp::Yuusei.delivery_state(number: 'xxxx-xxxx-xxxx-xxxx')
=> "お届け先にお届け済み"

irb(main):007:0> DeliveryStateJp::Seino.delivery_state(number: 'xxxx-xxxx-xxxx-xxxx')
=> "配達済みです"

License

The gem is available as open source under the terms of the MIT License.

For gem uploading for developers.

gem build delivery_state_jp.gemspec
gem push delivery_state_jp-1.0.22.gem
``~~~~`

About

get delivery state from japanese delivery solutions.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published