Skip to content

komba/poster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Why

to make your life easier

How?

require "poster"
Poster::Base.products

Poster::Base.get("menu.getProducts")

Monkey Patching

If you ever need to make custom calls (could be handy) lib/poster.rb:

module Poster
  class Base
    class << self
      def transactions(params={})
        get("dash.getTransactions", params.merge(include_products: true))
      end
    end
  end
end

TODO

  • use Faraday
  • add tests
  • add callback validation

About

Ruby wrapper for joinposter.com. I hope it will make your life easier if you ever forced to use this piece of sale POS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages