Module: Fakturoid::Api

Included in:
Client
Defined in:
lib/fakturoid/api.rb,
lib/fakturoid/api/base.rb,
lib/fakturoid/api/todo.rb,
lib/fakturoid/api/user.rb,
lib/fakturoid/api/event.rb,
lib/fakturoid/api/account.rb,
lib/fakturoid/api/expense.rb,
lib/fakturoid/api/invoice.rb,
lib/fakturoid/api/subject.rb,
lib/fakturoid/api/webhook.rb,
lib/fakturoid/api/generator.rb,
lib/fakturoid/api/inbox_file.rb,
lib/fakturoid/api/bank_account.rb,
lib/fakturoid/api/number_format.rb,
lib/fakturoid/api/inventory_item.rb,
lib/fakturoid/api/inventory_move.rb,
lib/fakturoid/api/expense_payment.rb,
lib/fakturoid/api/invoice_message.rb,
lib/fakturoid/api/invoice_payment.rb,
lib/fakturoid/api/recurring_generator.rb

Defined Under Namespace

Modules: Base Classes: Account, BankAccount, Event, Expense, ExpensePayment, Generator, InboxFile, InventoryItem, InventoryMove, Invoice, InvoiceMessage, InvoicePayment, NumberFormat, RecurringGenerator, Subject, Todo, User, Webhook

Instance Method Summary collapse

Instance Method Details

#accountObject



27
28
29
# File 'lib/fakturoid/api.rb', line 27

def 
  @account ||= Account.new(self)
end

#bank_accountsObject



31
32
33
# File 'lib/fakturoid/api.rb', line 31

def bank_accounts
  @bank_accounts ||= BankAccount.new(self)
end

#eventsObject



35
36
37
# File 'lib/fakturoid/api.rb', line 35

def events
  @events ||= Event.new(self)
end

#expense_paymentsObject



43
44
45
# File 'lib/fakturoid/api.rb', line 43

def expense_payments
  @expense_payments ||= ExpensePayment.new(self)
end

#expensesObject



39
40
41
# File 'lib/fakturoid/api.rb', line 39

def expenses
  @expenses ||= Expense.new(self)
end

#generatorsObject



47
48
49
# File 'lib/fakturoid/api.rb', line 47

def generators
  @generators ||= Generator.new(self)
end

#inbox_filesObject



51
52
53
# File 'lib/fakturoid/api.rb', line 51

def inbox_files
  @inbox_files ||= InboxFile.new(self)
end

#inventory_itemsObject



55
56
57
# File 'lib/fakturoid/api.rb', line 55

def inventory_items
  @inventory_items ||= InventoryItem.new(self)
end

#inventory_movesObject



59
60
61
# File 'lib/fakturoid/api.rb', line 59

def inventory_moves
  @inventory_moves ||= InventoryMove.new(self)
end

#invoice_messagesObject



67
68
69
# File 'lib/fakturoid/api.rb', line 67

def invoice_messages
  @invoice_messages ||= InvoiceMessage.new(self)
end

#invoice_paymentsObject



71
72
73
# File 'lib/fakturoid/api.rb', line 71

def invoice_payments
  @invoice_payments ||= InvoicePayment.new(self)
end

#invoicesObject



63
64
65
# File 'lib/fakturoid/api.rb', line 63

def invoices
  @invoices ||= Invoice.new(self)
end

#number_formatsObject



75
76
77
# File 'lib/fakturoid/api.rb', line 75

def number_formats
  @number_formats ||= NumberFormat.new(self)
end

#recurring_generatorsObject



79
80
81
# File 'lib/fakturoid/api.rb', line 79

def recurring_generators
  @recurring_generators ||= RecurringGenerator.new(self)
end

#subjectsObject



83
84
85
# File 'lib/fakturoid/api.rb', line 83

def subjects
  @subjects ||= Subject.new(self)
end

#todosObject



87
88
89
# File 'lib/fakturoid/api.rb', line 87

def todos
  @todos ||= Todo.new(self)
end

#usersObject



91
92
93
# File 'lib/fakturoid/api.rb', line 91

def users
  @users ||= User.new(self)
end

#webhooksObject



95
96
97
# File 'lib/fakturoid/api.rb', line 95

def webhooks
  @webhooks ||= Webhook.new(self)
end