Class: ElementBase
- Inherits:
-
Object
- Object
- ElementBase
- Defined in:
- lib/netvisor/element_base.rb
Direct Known Subclasses
Netvisor::SalesInvoice::CashDiscount, Netvisor::SalesInvoice::ChannelFormat, Netvisor::SalesInvoice::CountryCode, Netvisor::SalesInvoice::CustomTags::CustomTag, Netvisor::SalesInvoice::CustomTags::CustomTag::TagValue, Netvisor::SalesInvoice::CustomerId, Netvisor::SalesInvoice::DirectDebitLink, Netvisor::SalesInvoice::InvoiceAccrual::AccrualVoucherEntry, Netvisor::SalesInvoice::InvoiceAmount, Netvisor::SalesInvoice::InvoiceDate, Netvisor::SalesInvoice::InvoiceStatus, Netvisor::SalesInvoice::InvoiceVoucherLines::VoucherLine, Netvisor::SalesInvoice::InvoiceVoucherLines::VoucherLine::LineSum, Netvisor::SalesInvoice::SalesInvoiceAttachments::InvoiceAttachment, Netvisor::SalesInvoice::SecondName, Netvisor::SalesInvoice::SellerId, Netvisor::SalesInvoiceProductLine::ProductId, Netvisor::SalesInvoiceProductLine::UnitPrice, Netvisor::VatPercentage
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ ElementBase
constructor
A new instance of ElementBase.
Constructor Details
#initialize(args = {}) ⇒ ElementBase
Returns a new instance of ElementBase.
2 3 4 5 6 |
# File 'lib/netvisor/element_base.rb', line 2 def initialize(args = {}) args.each_pair do |key, val| self.send("#{key}=", val) if ElementBase.method_defined? key end end |