Sha256: b03aa28b52efc633e13ac25fd606ee507c24023b780d50ea78a9d44300b35507
Contents?: true
Size: 491 Bytes
Versions: 9
Compression:
Stored size: 491 Bytes
Contents
module Nova module API module Resource class Company < Nova::API::Base ALLOWED_ATTRIBUTES = %i[] attribute? :id, Dry::Types['coercible.integer'].optional attribute? :name, Dry::Types['coercible.string'].optional attribute? :trading_name, Dry::Types['coercible.string'].optional def self.endpoint '/api/companies' end def self.list do_get_search(endpoint, nil) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems