Sha256: 5a49283fdb4a77230a1ce4af9d5593adcf8358162740fc99c8fe9cbaa5d99d09

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

module Veeqo
  class Supplier < Base
    include Veeqo::Actions::Base

    def create(name:)
      create_resource(name: name)
    end

    def update(supplier_id, attributes)
      update_resource(supplier_id, attributes)
    end

    private

    def end_point
      "suppliers"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
veeqo-0.1.1 lib/veeqo/supplier.rb
veeqo-0.1.0 lib/veeqo/supplier.rb