Class: Zaikio::Procurement::Supplier
- Defined in:
- lib/zaikio/procurement/supplier.rb
Class Method Summary collapse
Class Method Details
.upcoming ⇒ Object
6 7 8 9 10 11 |
# File 'lib/zaikio/procurement/supplier.rb', line 6 def self.upcoming result = Zaikio::Procurement::Supplier .request(:get, "upcoming_suppliers")&.body&.dig("data") result.collect { |s| Zaikio::Procurement::Supplier.new(s) } end |