Class: Moneybird::Service::FinancialMutation

Inherits:
Object
  • Object
show all
Includes:
Traits::AdministrationService, Traits::FindAll, Traits::Service, Traits::Synchronization
Defined in:
lib/moneybird/service/financial_mutation.rb

Instance Attribute Summary

Attributes included from Traits::AdministrationService

#administration_id, #client, #options, #preloaded_data

Instance Method Summary collapse

Methods included from Traits::Synchronization

#synchronization

Methods included from Traits::FindAll

#all, #each, #each_page, #first, #first_page, #map

Methods included from Traits::Service

#build, #resource_path

Methods included from Traits::AdministrationService

#initialize

Instance Method Details



8
9
10
# File 'lib/moneybird/service/financial_mutation.rb', line 8

def link_booking(resource, booking)
  client.patch("#{resource_path(resource)}/link_booking", booking.to_json)
end