Class: Fakturan::Client

Inherits:
Base
  • Object
show all
Defined in:
lib/fakturan_nu/client.rb

Instance Method Summary collapse

Methods inherited from Base

#add_errors_to_model, #add_to_errors, connection, create, create!, request, #save, #save!

Instance Method Details

#address=(attrs_or_obj) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/fakturan_nu/client.rb', line 11

def address=(attrs_or_obj)
  if attrs_or_obj.respond_to?(:each)
    send(:address_attributes=, attrs_or_obj)
  else
    super
  end
end