Sha256: 964a84a4e9f8effb244b3ff007c67c55a4ee129a67f381d23e16836d43eb5fc8
Contents?: true
Size: 497 Bytes
Versions: 5
Compression:
Stored size: 497 Bytes
Contents
# frozen_string_literal: true require_relative 'subsidiary' module LedgerSync class Vendor < LedgerSync::Resource attribute :company_name, type: Type::String attribute :email, type: Type::String attribute :display_name, type: Type::String attribute :first_name, type: Type::String attribute :last_name, type: Type::String attribute :phone_number, type: Type::String references_one :subsidiary, to: Subsidiary def name display_name.to_s end end end
Version data entries
5 entries across 5 versions & 1 rubygems